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-7373: Allow GetOffsetShell command to accept a configurations file #5617

Closed
wants to merge 1 commit into from
Closed

KAFKA-7373: Allow GetOffsetShell command to accept a configurations file #5617

wants to merge 1 commit into from

Conversation

stanislavkozlovski
Copy link
Contributor

GetOffsetShell doesn't provide a mechanism to provide additional configuration for the underlying KafkaConsumer as does the ConsoleConsumer. This leaves it unable to connect to a broker using SSL.

This PR allows it to accept a client configuration file, subsequently allowing it to provide SSL configurations and connect to a broker.

I tested this manually. Trying to connect to a broker's SSL listener raised an out of memory error for me. After passing in the appropriate configurations via a config file, it connected successfully

@stanislavkozlovski
Copy link
Contributor Author

stanislavkozlovski commented Sep 6, 2018

cc @rajinisivaram @hachikuji

@ijuma
Copy link
Contributor

ijuma commented Sep 6, 2018

There's already a PR for this and a KIP too.

@stanislavkozlovski
Copy link
Contributor Author

stanislavkozlovski commented Sep 6, 2018

My bad, should have searched first

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