aiven / kafka

Mirror of Apache Kafka
Apache License 2.0
2 stars 1 forks source link

Execute kafka-dump-log only as user `kafka` #7

Closed giuseppelillo closed 1 year ago

giuseppelillo commented 1 year ago

kafka-dump-log.sh may create empty index files. Running it as kafka user guarantees that Kafka will not have problems reading those files.

tvainika commented 1 year ago

I think this guarantee should be covered by the environment around shipping the script instead of modifying this script for all.