Class PulsarConsumerProperties
java.lang.Object
io.numaproj.pulsar.config.consumer.PulsarConsumerProperties
Parsed representation of the pulsar.consumer section of application.yml.
Call init() once before use to normalize topicNames and set a default subscriptionName.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit()Normalizes topicNames into a Setand fills in a default subscriptionName based on the NUMAFLOW_PIPELINE_NAME and NUMAFLOW_VERTEX_NAME environment variables.
-
Constructor Details
-
PulsarConsumerProperties
public PulsarConsumerProperties()
-
-
Method Details
-
init
public void init()Normalizes topicNames into a Setand fills in a default subscriptionName based on the NUMAFLOW_PIPELINE_NAME and NUMAFLOW_VERTEX_NAME environment variables. - Throws:
IllegalArgumentException- if topicNames is not a String or resolves to zero topics
-