make

abstract fun make(feedBootstrap: FeedBootstrap<*>): PartitionsCreator?

Returns a PartitionsCreator which will cause the READ to advance for the Feed for which the FeedBootstrap argument is associated to. The latter exposes methods to obtain the current OpaqueStateValue for this feed but also to peek at the state of other Feeds. This may be useful for synchronizing the READ for this feed by waiting for other Feeds to reach a desired state before proceeding; the waiting may be triggered by PartitionsCreator.tryAcquireResources or PartitionReader.tryAcquireResources.

Returns null when the factory is unable to generate a PartitionsCreator. This causes another factory to be used instead.