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

Even better log statement in Kafka #2293

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

slinkydeveloper
Copy link
Contributor

Again for #2269

Comment on lines -244 to -250
debug!(
restate.subscription.id = %self.sender.subscription.id(),
messaging.consumer.group.name = consumer_group_id,
"Assigned topic/partitions/offset: {:?}",
consumer.assignment()?
);

Copy link
Contributor Author

@slinkydeveloper slinkydeveloper Nov 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This log statement is pointless because consumer.subscribe won't do anything until you recv from the stream the first time.

Copy link
Contributor

@tillrohrmann tillrohrmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. +1 for merging.

@slinkydeveloper slinkydeveloper merged commit 61fe56d into restatedev:main Nov 14, 2024
9 checks passed
@slinkydeveloper slinkydeveloper deleted the log-kafka branch November 14, 2024 10:30
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

Successfully merging this pull request may close these issues.

2 participants