Skip to content

Inception release of Spring For Apache Pulsar

Latest
Compare
Choose a tag to compare
@zulfiquiar-khan zulfiquiar-khan released this 11 Feb 16:10
· 8 commits to master since this release
0bf5241

We are releasing Spring For Apache Pulsar library which is used for easy integration with Apache Pulsar for Spring
based application.

To integrate with Apache Pulsar typically Java/Kotlin based application uses pulsar-client library.
With pulsar client library we have to write lot of boiler-plate code to create client/consumer/producer.
Also the configuration values for these object typically are constants values, which is either hard-coded
or moved properties. If these configuration values are moved to property, then application has to write code
for property management.

Spring for Pulsar helps to avoid these problems , thus reducing onboarding time and easier maintenance of
integration code. It achieves this by.

  • Allowing application to define client directly in property source file. Application dont have to write any
    code for client creation or property management.Library pulls the property and creates client using the defined
    properties.
  • Annotation based consumer definition. No code to create consumer object , just annotate your listener class and
    library will take care of the rest.
  • Allows property names as configuration value in consumer annotation.You can provide property names in annotation
    value and library will automatically pull these value from property source and use it for consumer creation.
  • Template based creation of producer. Defines once and use anywhere.