Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@tyranron
Copy link
Contributor

I have implement recently a simple shell script wrapper which uses kt and provides capabilities to use migrations (sort of) with Kafka, like automatic topics creation/deletion/reconfiguration, etc.

There is a common situation to create a lot of topics and during that Kafka may answer a little bit longer, which causes all subsequent operation to fail with the following error:

failed to create topic err=kafka server: Request exceeded the user-specified time limit in the request.

The default limit is 3s in Sarama, and it happens to be not enough quite often.

I've added the ability to configure this timeout via -timeout flag of kt admin command, or via KT_ADMIN_TIMEOUT env var globally.

@fgeller fgeller merged commit b622d35 into fgeller:master Dec 1, 2018
@fgeller
Copy link
Owner

fgeller commented Dec 1, 2018

Awesome, thanks a lot!

@tyranron tyranron deleted the make-admin-timeout-configurable branch December 2, 2018 16:40
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