Class PulsarConsumerProperties

java.lang.Object
io.numaproj.pulsar.config.consumer.PulsarConsumerProperties

public class PulsarConsumerProperties extends Object
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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Normalizes topicNames into a Set and fills in a default subscriptionName based on the NUMAFLOW_PIPELINE_NAME and NUMAFLOW_VERTEX_NAME environment variables.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PulsarConsumerProperties

      public PulsarConsumerProperties()
  • Method Details

    • init

      public void init()
      Normalizes topicNames into a Set and 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