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

Kafka DStream templates starts to fail intermittently #907

Open
vanshaj-bhatia opened this issue Feb 9, 2024 · 1 comment
Open

Kafka DStream templates starts to fail intermittently #907

vanshaj-bhatia opened this issue Feb 9, 2024 · 1 comment
Assignees
Labels
bug Something isn't working java

Comments

@vanshaj-bhatia
Copy link
Collaborator

The Kafka to GCS/BQ templates starts failing intermittently and continues to fail in consecutive runs, unless the Kafka topics are recreated.

Failure Error:
org.apache.kafka.clients.consumer.OffsetOutOfRangeException: Fetch position FetchPosition{offset=5215, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[instance-kafka.c.yadavaja-sandbox.internal:9094 (id: 2 rack: null)], epoch=0}} is out of range for partition integration-test-kafka-bq-dstream-0

Failure Reason: TBD

Steps to Reproduce: [To be verified]

  1. Create a new Kafka topic
  2. Schedule or run the template on a new topic
  3. Terminate the template run while in progress

Interim Solution/Workaround:

  • Recreate topics, which resets the Offset information of the topic.
@vanshaj-bhatia vanshaj-bhatia added bug Something isn't working java labels Feb 9, 2024
@chakresh84 chakresh84 linked a pull request Feb 12, 2024 that will close this issue
@vanshaj-bhatia
Copy link
Collaborator Author

Currently, Kafka topics are recreated every week on the KafkaVM for integration tests to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working java
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants