java.lang.Object
org.springframework.pulsar.spring.cloud.stream.binder.properties.PulsarBindingProperties
All Implemented Interfaces:
org.springframework.cloud.stream.binder.BinderSpecificPropertiesProvider

@ConfigurationProperties("spring.cloud.stream.pulsar.bindings.for-docs-only") public class PulsarBindingProperties extends Object implements org.springframework.cloud.stream.binder.BinderSpecificPropertiesProvider
Container for Pulsar specific extended producer and consumer binding properties.

These properties are applied to individual bindings and will override any binder-level setting.

NOTE: This class is only referenced as a value in the bindings map and therefore, by default is not included in the generated configuration metadata. To get around this limitation it is annotated with @ConfigurationProperties. However, that is the only reason it is annotated and is not intended to be used directly.

Author:
Soby Chacko, Chris Bono
  • Constructor Details

    • PulsarBindingProperties

      public PulsarBindingProperties()
  • Method Details

    • getConsumer

      public PulsarConsumerProperties getConsumer()
      Specified by:
      getConsumer in interface org.springframework.cloud.stream.binder.BinderSpecificPropertiesProvider
    • setConsumer

      public void setConsumer(PulsarConsumerProperties consumer)
    • getProducer

      public PulsarProducerProperties getProducer()
      Specified by:
      getProducer in interface org.springframework.cloud.stream.binder.BinderSpecificPropertiesProvider
    • setProducer

      public void setProducer(PulsarProducerProperties producer)