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

Lots of logs with "Resetting the last seen epoch of partition" #3881

Open
joke opened this issue May 6, 2024 · 3 comments
Open

Lots of logs with "Resetting the last seen epoch of partition" #3881

joke opened this issue May 6, 2024 · 3 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. triage/accepted Issues which should be fixed (post-triage)

Comments

@joke
Copy link

joke commented May 6, 2024

Describe the bug

The kafka-channel-receiver is logging lots these Resetting the last seen epoch messages. As far as I understand the problem the client doesn't track the epoch of a topic partition.

This message is logged about every minute for every partition of every topic.

'@timestamp': '2024-05-03T20:24:51.406Z'
'@version': '1'
message: >-
  [Producer clientId=producer-3] Resetting the last seen epoch of partition
  knative-messaging-kafka.demo.sequence-kn-sequence-2-9 to 24 since the
  associated topicId changed from null to 2RdjCRMuRx2ylkDhntN0SA
logger_name: org.apache.kafka.clients.Metadata
thread_name: kafka-producer-network-thread | producer-3
level: INFO
level_value: 20000

Expected behavior

If this is expected the log level should be decreased.

To Reproduce

Seems to be happening with v1.13.0 and releases before that.

Knative release version

v1.13.0

@joke joke added the kind/bug Categorizes issue or PR as related to a bug. label May 6, 2024
@Cali0707
Copy link
Member

From https://stackoverflow.com/a/74655164 it looks like we need to make sure we set the topicId property correctly on our producer config

/triage accepted
/cc @pierDipi

@knative-prow knative-prow bot added the triage/accepted Issues which should be fixed (post-triage) label May 13, 2024
@pierDipi
Copy link
Member

I'm not sure we can actually influence that topicId

@pierDipi
Copy link
Member

pierDipi commented May 15, 2024

I think we can definitely bump our client libraries to the latest ones and see if something changes with the latest fixes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. triage/accepted Issues which should be fixed (post-triage)
Projects
None yet
Development

No branches or pull requests

3 participants