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

[KIP-848] Make Kafka integration test run with new protocol too #2212

Merged
merged 9 commits into from May 7, 2024

Conversation

emasab
Copy link
Contributor

@emasab emasab commented Apr 23, 2024

No description provided.

@emasab emasab force-pushed the dev_kip848_integration_tests branch from 3c14612 to 9bc9e08 Compare April 25, 2024 07:00
@emasab emasab force-pushed the dev_kip848_integration_tests branch from 9bc9e08 to d287a0f Compare April 25, 2024 08:36
@emasab emasab force-pushed the dev_kip848_integration_tests branch from e158587 to 5761e43 Compare April 25, 2024 08:46
Comment on lines +21 to +27
var groupProtocol = TestConsumerGroupProtocol.GroupProtocol();
if (groupProtocol != null)
{
consumerConfig.GroupProtocol = groupProtocol == "classic" ?
GroupProtocol.Classic :
GroupProtocol.Consumer;
}
Copy link
Member

Choose a reason for hiding this comment

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

Can be simplified using TestConsumerGroupProtocol.IsClassic()

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I left it like it is because TestConsumerGroupProtocol.IsClassic() returns true even if it's not set, and in that case we don't want to set property explicitly but rely on the default

@@ -94,7 +94,7 @@ private void LogToFile(string msg)
{
// Uncomment to enable logging to a file. Useful for debugging,
// for example, which test caused librdkafka to segfault.
// File.AppendAllLines("/tmp/test.txt", new [] { msg });
File.AppendAllLines("/tmp/test.txt", new [] { msg });
Copy link
Member

Choose a reason for hiding this comment

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

Can be reverted

@emasab emasab force-pushed the dev_kip848_integration_tests branch 11 times, most recently from c6c35e6 to 4e1451d Compare May 1, 2024 10:26
@emasab emasab force-pushed the dev_kip848_integration_tests branch from 4e1451d to c00d90e Compare May 1, 2024 13:48
@anchitj anchitj merged commit a20252e into master May 7, 2024
1 of 2 checks passed
@anchitj anchitj deleted the dev_kip848_integration_tests branch May 7, 2024 08:01
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.

None yet

2 participants