You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Background:
Pulsar version 2.10
The following is deployed in our business environment.
server Hardware configuration The components deployed on the machine.
ddx001 32C/128G/5.5T SSD Zookeeper/Bookkeeper/Pulsar Broker
ddx002 32C/128G/5.5T SSD Zookeeper/Bookkeeper/Pulsar Broker
ddx003 32C/128G/5.5T SSD Zookeeper/Bookkeeper/Pulsar Broker
On our machine, we have deployed Debezium to synchronize data from Mongo. Debezium synchronizes the data from Mongo to the Pulsar mongo/hamster namespace, and the Flink program consume the data in the namespace bigdata/dwd. During our operation, when a single broker hangs, its corresponding ports 6650 and 8080 remain active but Debezium is unable to wirite data into Pulsar's corresponding broker. As a result, downstream Flink cannot cosume any data.
After restarting the broker on ddx001 at 22:00 in the evening, Debezium was able to cosume data in Pulsar again.
Flink consumed data for a while in the morning but was unable to consume it.
The error message when viewing debezium logs is as follows:
2023-03-30T17:17:22,907+0800 [pulsar-client-io-1-10] WARN org.apache.pulsar.client.impl.ClientCnx - [id: 0x21142b91, L:/10.1.62.3:56732 - R:10.1.62.1/10.1.62.1:6650] request timeout {‘durationMs’: ‘30000’, ‘reqId’:‘2994521255180757909’, ‘remote’:‘10.1.62.1/10.1.62.1:6650’, ‘local’:‘/10.1.62.3:56732’}
2023-03-30T17:17:22,907+0800 [pulsar-client-io-1-10] ERROR org.apache.pulsar.client.impl.ProducerImpl - [persistent://mongo/hamster/dbservermongo.hamster.ClassSummary10] [pulsar-cluster-ddx-73-29] Failed to create producer: request timeout {‘durationMs’: ‘30000’, ‘reqId’:‘2994521255180757911’, ‘remote’:‘10.1.62.1/10.1.62.1:6650’, ‘local’:‘/10.1.62.3:56732’}
2023-03-30T17:17:22,907+0800 [pulsar-client-io-1-10] WARN org.apache.pulsar.client.impl.ConnectionHandler - [persistent://mongo/hamster/dbservermongo.hamster.ClassSummary10] [pulsar-cluster-ddx-73-29] Could not get connection to broker: request timeout {‘durationMs’: ‘30000’, ‘reqId’:‘2994521255180757911’, ‘remote’:‘10.1.62.1/10.1.62.1:6650’, ‘local’:‘/10.1.62.3:56732’} – Will try again in 56.137 s
2023-03-30T17:17:22,907+0800 [pulsar-client-io-1-10] WARN org.apache.pulsar.client.impl.ClientCnx - [id: 0x21142b91, L:/10.1.62.3:56732 - R:10.1.62.1/10.1.62.1:6650] request timeout {‘durationMs’: ‘30000’, ‘reqId’:‘2994521255180757911’, ‘remote’:‘10.1.62.1/10.1.62.1:6650’, ‘local’:‘/10.1.62.3:56732’}
2023-03-30T17:17:22,907+0800 [pulsar-client-io-1-10] ERROR org.apache.pulsar.client.impl.ProducerImpl - [persistent://mongo/hamster/dbservermongo.hamster.ClassRating1] [pulsar-cluster-ddx-73-66] Failed to create producer: request timeout {‘durationMs’: ‘30000’, ‘reqId’:‘2994521255180757913’, ‘remote’:‘10.1.62.1/10.1.62.1:6650’, ‘local’:‘/10.1.62.3:56732’}
2023-03-30T17:17:22,907+0800 [pulsar-client-io-1-10] WARN org.apache.pulsar.client.impl.ConnectionHandler - [persistent://mongo/hamster/dbservermongo.hamster.ClassRating1] [pulsar-cluster-ddx-73-66] Could not get connection to broker: request timeout {‘durationMs’: ‘30000’, ‘reqId’:‘2994521255180757913’, ‘remote’:‘10.1.62.1/10.1.62.1:6650’, ‘local’:‘/10.1.62.3:56732’} – Will try again in 57.424 s
2023-03-30T17:17:22,907+0800 [pulsar-client-io-1-10] WARN org.apache.pulsar.client.impl.ClientCnx - [id: 0x21142b91, L:/10.1.62.3:56732 - R:10.1.62.1/10.1.62.1:6650] request timeout {‘durationMs’: ‘30000’, ‘reqId’:‘2994521255180757913’, ‘remote’:‘10.1.62.1/10.1.62.1:6650’, ‘local’:‘/10.1.62.3:56732’}
During our testing, ddx001 was unable to send data while ddx002 and ddx003 were functioning normally. After restarting the broker on ddx001, Debezium was able to write data into the broker.
Q1:Why can Debezium only write to a fixed broker?
Q2: Why does the broker hang after starting Flink, but the corresponding port of the broker is still active?
Q3: Debezium cannot automatically switch to other nodes during daily maintenance, and the connector keeps restarting.
Q4: There is a connector for Debezium on ddx001. The machine crashed at 10 am, and after switching to another node ddx003 at 11 am, Debezium could not obtain MySQL data during the interruption from 10 am to 11 am, resulting in gaps in the message stream.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Background:
Pulsar version 2.10
The following is deployed in our business environment.
server Hardware configuration The components deployed on the machine.
ddx001 32C/128G/5.5T SSD Zookeeper/Bookkeeper/Pulsar Broker
ddx002 32C/128G/5.5T SSD Zookeeper/Bookkeeper/Pulsar Broker
ddx003 32C/128G/5.5T SSD Zookeeper/Bookkeeper/Pulsar Broker
On our machine, we have deployed Debezium to synchronize data from Mongo. Debezium synchronizes the data from Mongo to the Pulsar mongo/hamster namespace, and the Flink program consume the data in the namespace bigdata/dwd. During our operation, when a single broker hangs, its corresponding ports 6650 and 8080 remain active but Debezium is unable to wirite data into Pulsar's corresponding broker. As a result, downstream Flink cannot cosume any data.
After restarting the broker on ddx001 at 22:00 in the evening, Debezium was able to cosume data in Pulsar again.


Flink consumed data for a while in the morning but was unable to consume it.
The error message when viewing debezium logs is as follows:
2023-03-30T17:17:22,907+0800 [pulsar-client-io-1-10] WARN org.apache.pulsar.client.impl.ClientCnx - [id: 0x21142b91, L:/10.1.62.3:56732 - R:10.1.62.1/10.1.62.1:6650] request timeout {‘durationMs’: ‘30000’, ‘reqId’:‘2994521255180757909’, ‘remote’:‘10.1.62.1/10.1.62.1:6650’, ‘local’:‘/10.1.62.3:56732’}
2023-03-30T17:17:22,907+0800 [pulsar-client-io-1-10] ERROR org.apache.pulsar.client.impl.ProducerImpl - [persistent://mongo/hamster/dbservermongo.hamster.ClassSummary10] [pulsar-cluster-ddx-73-29] Failed to create producer: request timeout {‘durationMs’: ‘30000’, ‘reqId’:‘2994521255180757911’, ‘remote’:‘10.1.62.1/10.1.62.1:6650’, ‘local’:‘/10.1.62.3:56732’}
2023-03-30T17:17:22,907+0800 [pulsar-client-io-1-10] WARN org.apache.pulsar.client.impl.ConnectionHandler - [persistent://mongo/hamster/dbservermongo.hamster.ClassSummary10] [pulsar-cluster-ddx-73-29] Could not get connection to broker: request timeout {‘durationMs’: ‘30000’, ‘reqId’:‘2994521255180757911’, ‘remote’:‘10.1.62.1/10.1.62.1:6650’, ‘local’:‘/10.1.62.3:56732’} – Will try again in 56.137 s
2023-03-30T17:17:22,907+0800 [pulsar-client-io-1-10] WARN org.apache.pulsar.client.impl.ClientCnx - [id: 0x21142b91, L:/10.1.62.3:56732 - R:10.1.62.1/10.1.62.1:6650] request timeout {‘durationMs’: ‘30000’, ‘reqId’:‘2994521255180757911’, ‘remote’:‘10.1.62.1/10.1.62.1:6650’, ‘local’:‘/10.1.62.3:56732’}
2023-03-30T17:17:22,907+0800 [pulsar-client-io-1-10] ERROR org.apache.pulsar.client.impl.ProducerImpl - [persistent://mongo/hamster/dbservermongo.hamster.ClassRating1] [pulsar-cluster-ddx-73-66] Failed to create producer: request timeout {‘durationMs’: ‘30000’, ‘reqId’:‘2994521255180757913’, ‘remote’:‘10.1.62.1/10.1.62.1:6650’, ‘local’:‘/10.1.62.3:56732’}
2023-03-30T17:17:22,907+0800 [pulsar-client-io-1-10] WARN org.apache.pulsar.client.impl.ConnectionHandler - [persistent://mongo/hamster/dbservermongo.hamster.ClassRating1] [pulsar-cluster-ddx-73-66] Could not get connection to broker: request timeout {‘durationMs’: ‘30000’, ‘reqId’:‘2994521255180757913’, ‘remote’:‘10.1.62.1/10.1.62.1:6650’, ‘local’:‘/10.1.62.3:56732’} – Will try again in 57.424 s
2023-03-30T17:17:22,907+0800 [pulsar-client-io-1-10] WARN org.apache.pulsar.client.impl.ClientCnx - [id: 0x21142b91, L:/10.1.62.3:56732 - R:10.1.62.1/10.1.62.1:6650] request timeout {‘durationMs’: ‘30000’, ‘reqId’:‘2994521255180757913’, ‘remote’:‘10.1.62.1/10.1.62.1:6650’, ‘local’:‘/10.1.62.3:56732’}
During our testing, ddx001 was unable to send data while ddx002 and ddx003 were functioning normally. After restarting the broker on ddx001, Debezium was able to write data into the broker.
Q1:Why can Debezium only write to a fixed broker?
Q2: Why does the broker hang after starting Flink, but the corresponding port of the broker is still active?
Q3: Debezium cannot automatically switch to other nodes during daily maintenance, and the connector keeps restarting.
Q4: There is a connector for Debezium on ddx001. The machine crashed at 10 am, and after switching to another node ddx003 at 11 am, Debezium could not obtain MySQL data during the interruption from 10 am to 11 am, resulting in gaps in the message stream.
All reactions