Skip to content

Apparent Silent Data loss when Schema Registry is mistakenly in READONLY #3694

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

Open
johnjcasey opened this issue Apr 22, 2025 · 0 comments
Open

Comments

@johnjcasey
Copy link

I've been testing a few use cases, and I found an issue where silent data loss appears to occur under the following conditions with Kafka Connect and Schema Registry

  1. Using a Source connector (Pub/Sub Source, though I don't think the specific source is the issue here)
  2. Using the Avro converter
  3. The Schema Registry itself is in READONLY mode
  4. The schema in question is 'new' to the schema registry.

I create a connector using the avro converter, and looking at the Kafka connect logs, I see 0 exceptions.
However, all the messages are acked on the PubSub side of things, and I see 0 data on the Kafka topic in question.

When I switch the Schema Registry to READWRITE, it works as expected.

I'm not surprised by the failure here, as with no ability to write to Schema Registry the transformation should fail, but I'm concerned by not seeing any exceptions in the logs arising from the failure to convert. Its not entirely clear to me where these exceptions are getting swallowed, but I would expect to see them in the logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant