Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cdc: test Kafka network connectivity from nodes #98393

Open
shermanCRL opened this issue Mar 10, 2023 · 1 comment
Open

cdc: test Kafka network connectivity from nodes #98393

shermanCRL opened this issue Mar 10, 2023 · 1 comment
Labels
A-cdc Change Data Capture C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-cdc

Comments

@shermanCRL
Copy link
Contributor

shermanCRL commented Mar 10, 2023

Is your feature request related to a problem? Please describe.

Changefeed users may have network connectivity problems from CRDB to Kafka. This is difficult to troubleshoot. The error returned is often kafka: client has run out of available brokers to talk to (Is your cluster reachable?), which I understand to result from any network problem.

Further, Cloud users do not have network troubleshooting tools (ping, nslookup, traceroute) because they can’t ssh into Cloud nodes. And, they don’t have access to logs, where they might cat *.log | grep sarama.

Problems might also include certs and auth.

Describe the solution you'd like

The ability to test Kafka connectivity from the CRDB process, via the SQL client. The Disaster Recovery team has implemented similar for cloud storage: #97517

The solution may be an extension of the above to accept kafka:// URLs. We’d need some way to generate Kafka-specific workload.

See also kcat for inspiration: https://docs.confluent.io/platform/current/clients/kafkacat-usage.html

We might go further and add things like WITH dns, traceroute, ping etc, which would not be Kafka-specific. And then iterate on other sinks such as webhook and pubsub.


Possbile duplicate of #60178

Jira issue: CRDB-25245
Epic CRDB-6667

@shermanCRL shermanCRL added C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) A-cdc Change Data Capture labels Mar 10, 2023
@blathers-crl blathers-crl bot added the T-cdc label Mar 10, 2023
@blathers-crl
Copy link

blathers-crl bot commented Mar 10, 2023

cc @cockroachdb/cdc

@shermanCRL shermanCRL changed the title cdc: test Kafka access from nodes cdc: test Kafka network connectivity from nodes Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-cdc Change Data Capture C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-cdc
Projects
None yet
Development

No branches or pull requests

1 participant