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

Debezium server fail when connect to Azure Event Hubs

    XMLWordPrintable

Details

    • False
    • None
    • False

    Description

      In order to make your issue reports as actionable as possible, please provide the following information, depending on the issue type.

      Bug report

      For bug reports, provide this information, please:

      What Debezium connector do you use and what version?

      Debezium server 1.9

      What is the connector configuration?

      topic.creation.default.compression.type:gzipdebezium.sink.type=eventhubs
      debezium.sink.eventhubs.connectionstring=Endpoint=sb://aquaeasy-event-hub-prod.servicebus.windows.net/;********
      debezium.sink.eventhubs.hubname=cdc-mysql-prod
      debezium.sink.eventhubs.maxbatchsize=1048576
      debezium.source.connector.class=io.debezium.connector.mysql.MySqlConnector
      debezium.source.offset.storage.file.filename=data/offsets.dat
      debezium.source.offset.flush.interval.ms=0
      debezium.source.database.hostname=****
      debezium.source.database.port=3306
      debezium.source.database.user=****
      debezium.source.database.password=
      debezium.source.database.dbname=aquaeasy-api-prod
      debezium.source.database.server.name=**** debezium.source.database.serverTimezone=UTC
      debezium.source.database.include.list=aquaeasy-api-prod
      debezium.source.key.converter.schemas.enable=false
      debezium.source.value.converter.schemas.enable=false
      debezium.source.database.history=io.debezium.relational.history.FileDatabaseHistory
      debezium.source.database.history.file.filename=history.dat 

      What behaviour do you see?

      Debezium not able connect to Azure Event Hub after some ideal time

      Do you have the connector logs, ideally from start till finish?

      {"timestamp":"2022-06-20T07:38:00.798Z","sequence":4306,"loggerClassName":"org.slf4j.impl.Slf4jLogger","loggerName":"com.azure.core.amqp.implementation.ReactorSender","level":"ERROR","message":"[cdc-mysql-prod] Error occurred in sender error handler.\nIdle link tracker, link cdc-mysql-prod has been idle for 1800000ms TrackingId:f16a6233-8f5d-45fe-9833-c4e7fbb3cef9_G5S1, SystemTracker:aquaeasy-event-hub-prod:EventHub:cdc-mysql-prod, Timestamp:2022-06-20T07:38:00, errorContext[NAMESPACE: aquaeasy-event-hub-prod.servicebus.windows.net, PATH: cdc-mysql-prod, REFERENCE_ID: C614148005698CE405698CEB62B01CD0_G5S1, LINK_CREDIT: 299]","threadName":"single-1","threadId":25,"mdc":{},"ndc":"","hostName":"aquaeasy-debezium-mysql-prod-57659f984d-gzkx2","processName":"io.debezium.server.Main","processId":1}

      Feature request or enhancement

      This look like the issue with old Azure SDK, and Microsoft already fix it

      https://github.com/Azure/azure-sdk-for-java/issues/13420

      Could you upgrade azure sdk to last version in next release of Debezium Server 2.0

      Attachments

        Activity

          People

            anmohant Anisha Mohanty
            quanganhha Anh Ha (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: