Interface ReaderContainerFactory<C extends PulsarMessageReaderContainer,E extends PulsarReaderEndpoint<C>>
- Type Parameters:
C
- Container typeE
- Endpoint type
- All Superinterfaces:
PulsarContainerFactory<C,
E>
- All Known Subinterfaces:
PulsarReaderContainerFactory
- All Known Implementing Classes:
AbstractPulsarReaderContainerFactory
,DefaultPulsarReaderContainerFactory
public interface ReaderContainerFactory<C extends PulsarMessageReaderContainer,E extends PulsarReaderEndpoint<C>>
extends PulsarContainerFactory<C,E>
Base container factory interface for
PulsarMessageReaderContainer
.- Author:
- Soby Chacko, Chris Bono
-
Method Summary
Modifier and TypeMethodDescriptiondefault C
createReaderContainer
(E endpoint) Deprecated, for removal: This API element is subject to removal in a future version.default C
createReaderContainer
(String... topics) Deprecated, for removal: This API element is subject to removal in a future version.since 1.2.0 for removal in 1.4.0 in favor ofPulsarContainerFactory.createContainer(java.lang.String...)
Methods inherited from interface org.springframework.pulsar.config.PulsarContainerFactory
createContainer, createRegisteredContainer
-
Method Details
-
createReaderContainer
Deprecated, for removal: This API element is subject to removal in a future version.since 1.2.0 for removal in 1.4.0 in favor ofPulsarContainerFactory.createRegisteredContainer(E)
Create a message reader container for the given endpoint and register the container with the listener endpoint registry.- Parameters:
endpoint
- reader endpoint- Returns:
- the created container
-
createReaderContainer
Deprecated, for removal: This API element is subject to removal in a future version.since 1.2.0 for removal in 1.4.0 in favor ofPulsarContainerFactory.createContainer(java.lang.String...)
Create a message reader container for the given endpoint.- Parameters:
topics
- the topics to read from- Returns:
- the created container
-
PulsarContainerFactory.createRegisteredContainer(E)