Skip to content

Start installing various Kafka CLI tools in ca-kafka-local plugin #36

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

Merged
merged 6 commits into from
Aug 21, 2024

Conversation

jasononeil
Copy link
Member

@jasononeil jasononeil commented Aug 16, 2024

This will make it easier for us to add topics, among other things.

The tools installed are:

All 3 tools are small binaries and don't add much weight to the plugin. Kaf and Kcat are already in use elsewhere at Culture Amp, but kafkactl appeared to me to have the nicest combination of UI + docs, so I think is worth including.

I've used envsubst to create templated config files for each, and needed a small wrapper script to set the --config flag for kaf (for both kcat and kafkactl I was able to set the config path with an environment variable so didn't need a wrapper script).

Example to create a topic:

kafkactl create topic local.jasontopic.v1

Jira card: https://cultureamp.atlassian.net/browse/FEF-1538

@jasononeil jasononeil changed the title Start installing kafkactl in ca-kafka-local plugin Start installing various Kafka CLI tools in ca-kafka-local plugin Aug 20, 2024
@jasononeil jasononeil marked this pull request as ready for review August 20, 2024 15:38
@cultureamp-brucew
Copy link
Contributor

Even though in my opinion most of the tasks required can all be done with one tool and more tools only increase cognitive load, at this stage might be better just provides all of them.

This will make it easier for us to add topics, among other things

For example:

    kafkactl create topic local.jasontopic.v1

There's still some discussion around if this is the right CLI for the job.
kafkactl looked like one of the nicer options to me, but kaf and kcat are both
already in use elsewhere at Culture Amp, so we might as well match the
technology choices.

Add missing kcat config
@jasononeil jasononeil merged commit 9fbd2c3 into main Aug 21, 2024
8 checks passed
@jasononeil jasononeil deleted the jasono/kafkactl branch August 21, 2024 23:18
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.

3 participants