{"action":"created","issue":{"url":"https://api.github.com/repos/wurstmeister/kafka-docker/issues/312","repository_url":"https://api.github.com/repos/wurstmeister/kafka-docker","labels_url":"https://api.github.com/repos/wurstmeister/kafka-docker/issues/312/labels{/name}","comments_url":"https://api.github.com/repos/wurstmeister/kafka-docker/issues/312/comments","events_url":"https://api.github.com/repos/wurstmeister/kafka-docker/issues/312/events","html_url":"https://github.com/wurstmeister/kafka-docker/issues/312","id":313289680,"number":312,"title":"SASL_PLAIN/SSL KAFKA_OPTS not being set","user":{"login":"jduffy3","id":1633973,"avatar_url":"https://avatars1.githubusercontent.com/u/1633973?v=4","gravatar_id":"","url":"https://api.github.com/users/jduffy3","html_url":"https://github.com/jduffy3","followers_url":"https://api.github.com/users/jduffy3/followers","following_url":"https://api.github.com/users/jduffy3/following{/other_user}","gists_url":"https://api.github.com/users/jduffy3/gists{/gist_id}","starred_url":"https://api.github.com/users/jduffy3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jduffy3/subscriptions","organizations_url":"https://api.github.com/users/jduffy3/orgs","repos_url":"https://api.github.com/users/jduffy3/repos","events_url":"https://api.github.com/users/jduffy3/events{/privacy}","received_events_url":"https://api.github.com/users/jduffy3/received_events","type":"User","site_admin":false},"labels":[{"id":71948330,"url":"https://api.github.com/repos/wurstmeister/kafka-docker/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-04-11T11:48:57Z","updated_at":"2018-04-12T07:48:08Z","closed_at":null,"author_association":"NONE","body":"I'm trying to pass some variables into the KAFKA_OPTS var but \r\nI keep seeing this in the logs\r\n\r\n/usr/bin/start-kafka.sh: line 96: KAFKA_OPTS=-Djava.security.auth.login.config: bad substitution\r\n\r\nI'm trying to set the following variable\r\nKAFKA_OPTS: \"-Djava.security.auth.login.config=/kafka_server_jaas.conf\"\r\n\r\nCan you please explain why I can't set this? Or how I might go about doing it"},"comment":{"url":"https://api.github.com/repos/wurstmeister/kafka-docker/issues/comments/380710730","html_url":"https://github.com/wurstmeister/kafka-docker/issues/312#issuecomment-380710730","issue_url":"https://api.github.com/repos/wurstmeister/kafka-docker/issues/312","id":380710730,"user":{"login":"sscaling","id":1625151,"avatar_url":"https://avatars1.githubusercontent.com/u/1625151?v=4","gravatar_id":"","url":"https://api.github.com/users/sscaling","html_url":"https://github.com/sscaling","followers_url":"https://api.github.com/users/sscaling/followers","following_url":"https://api.github.com/users/sscaling/following{/other_user}","gists_url":"https://api.github.com/users/sscaling/gists{/gist_id}","starred_url":"https://api.github.com/users/sscaling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sscaling/subscriptions","organizations_url":"https://api.github.com/users/sscaling/orgs","repos_url":"https://api.github.com/users/sscaling/repos","events_url":"https://api.github.com/users/sscaling/events{/privacy}","received_events_url":"https://api.github.com/users/sscaling/received_events","type":"User","site_admin":false},"created_at":"2018-04-12T07:48:08Z","updated_at":"2018-04-12T07:48:08Z","author_association":"COLLABORATOR","body":"@jduffy3 - I've just merged the fix for #313. This should allow you the work around I mentioned above\r\n\r\n```\r\nCUSTOM_INIT_SCRIPT=\"export KAFKA_OPTS=\"-Djava.security.auth.login.config=/kafka_server_jaas.conf\"\r\n```\r\n\r\nAdded a test-case: https://github.com/wurstmeister/kafka-docker/blob/master/test/test.start-kafka-bug-313-kafka-opts.kafka.sh.\r\n\r\nI'll leave this bug open, as the root-cause still needs to be addressed, but the work-around should un-block you. HTH"}}
{"actor":{"display_login":"sscaling"}}