Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-9474

Debezium Server NATS JetStream Sink: Add Asynchronous Message Publishing

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.Final
    • None
    • debezium-server
    • None

      NATS sink in Debezium Server currently relies on synchronous publishing, it limits performance for high volume stream scenarios (e.g. snapshots) Enhance the Debezium Server NATS JetStream sink to support asynchronous message publishing using NATS JetStream's publishAsync method. This will allow Debezium server to send CDC change events to NATS stream with improved throughput.

      This enhancement is motivated by a throughput issue discussed with ccranfor@redhat.com

      The implementation takes reference from existing publish usage, NATS JetStream documents and java client examples at: https://github.com/nats-io/nats.java/blob/main/src/examples/java/io/nats/examples/jetstream/NatsJsPubAsync2.java

      Which use case/requirement will be addressed by the proposed feature?

      Asynchronously publishing to NATS JetStream

              Unassigned Unassigned
              vpin54 Vpin K
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: