Class PulsarReaderContainerProperties
java.lang.Object
org.springframework.pulsar.reader.PulsarReaderContainerProperties
Container properties for Pulsar
Reader
.- Author:
- Soby Chacko
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.pulsar.client.api.Schema<?>
org.apache.pulsar.common.schema.SchemaType
org.apache.pulsar.client.api.MessageId
void
setReaderListener
(Object readerListener) void
setReaderStartTimeout
(Duration readerStartTimeout) Set the timeout to wait for a reader thread to start before logging an error.void
setReaderTaskExecutor
(AsyncTaskExecutor readerExecutor) void
setSchema
(org.apache.pulsar.client.api.Schema<?> schema) void
setSchemaResolver
(SchemaResolver schemaResolver) void
setSchemaType
(org.apache.pulsar.common.schema.SchemaType schemaType) void
setStartMessageId
(org.apache.pulsar.client.api.MessageId startMessageId) void
setSubscriptionName
(String subscriptionName) void
-
Constructor Details
-
PulsarReaderContainerProperties
public PulsarReaderContainerProperties()
-
-
Method Details
-
getReaderListener
-
setReaderListener
-
getReaderTaskExecutor
-
setReaderTaskExecutor
-
getReaderStartTimeout
-
setReaderStartTimeout
Set the timeout to wait for a reader thread to start before logging an error. Default 30 seconds.- Parameters:
readerStartTimeout
- the reader start timeout.
-
getTopics
-
setTopics
-
getStartMessageId
public org.apache.pulsar.client.api.MessageId getStartMessageId() -
setStartMessageId
public void setStartMessageId(org.apache.pulsar.client.api.MessageId startMessageId) -
getSchema
public org.apache.pulsar.client.api.Schema<?> getSchema() -
setSchema
public void setSchema(org.apache.pulsar.client.api.Schema<?> schema) -
getSubscriptionName
-
setSubscriptionName
-
getSchemaType
public org.apache.pulsar.common.schema.SchemaType getSchemaType() -
setSchemaType
public void setSchemaType(org.apache.pulsar.common.schema.SchemaType schemaType) -
getSchemaResolver
-
setSchemaResolver
-