Details
-
Improvement
-
Status: Resolved
-
Trivial
-
Resolution: Duplicate
-
0.8.0
-
None
-
None
Description
We are using the distributed version of kafka:
http://apache.mirrors.lucidnetworks.net/kafka/0.8.0/kafka_2.8.0-0.8.0.tar.gz
And we would like to set some environment variables, particularly KAFKA_OPTS when the kafka service starts.
In other words, when someone does a "sudo service kafka start" we would like to set some environment variables.
We cannot do this without modifying either /etc/init.d/kafka or bin/kafka-run-class.sh, and we don't want to modify files that we don't own.
The solution is to have kafka source in a user specific file that may have these environment variables set.
I'm attaching the patch file to show you what I mean.
Attachments
Attachments
Issue Links
- duplicates
-
KAFKA-1566 Kafka environment configuration (kafka-env.sh)
- Patch Available
- links to