Interface PartitionSubscriberFactory
-
- All Superinterfaces:
AutoCloseable
public interface PartitionSubscriberFactory extends AutoCloseable
PartitionSubscriberFactories are used dynamically in a context where there is no client downcall. Therefore, their factory method throws a checked exception.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
Subscriber
newSubscriber(Partition partition)
-
-
-
Method Detail
-
newSubscriber
Subscriber newSubscriber(Partition partition) throws CheckedApiException
- Throws:
CheckedApiException
-
close
void close()
- Specified by:
close
in interfaceAutoCloseable
-
-