You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using DC/OS 1.12 the script "export TWEET_CONSUMER_KAFKA_BROKERS=curl -s master.mesos:8123/v1/services/_broker-0._tcp.kafka.mesos | python -c 'import sys, json; j = json.load(sys.stdin); print(j[0]["ip"] + ":" + j[0]["port"])'" does not return any result. My work around was to place the following environment variable for each of the apps.
Using DC/OS 1.12 the script "export TWEET_CONSUMER_KAFKA_BROKERS=
curl -s master.mesos:8123/v1/services/_broker-0._tcp.kafka.mesos | python -c 'import sys, json; j = json.load(sys.stdin); print(j[0]["ip"] + ":" + j[0]["port"])'
" does not return any result. My work around was to place the following environment variable for each of the apps.TWEET_CONSUMER_KAFKA_BROKERS=kafka-0-broker.kafka.autoip.dcos.thisdcos.directory:1025,kafka-1-broker.kafka.autoip.dcos.thisdcos.directory:1025,kafka-2-broker.kafka.autoip.dcos.thisdcos.directory:1025
And
TWEET_PRODUCER_KAFKA_BROKERS=kafka-0-broker.kafka.autoip.dcos.thisdcos.directory:1025,kafka-1-broker.kafka.autoip.dcos.thisdcos.directory:1025,kafka-2-broker.kafka.autoip.dcos.thisdcos.directory:1025
The text was updated successfully, but these errors were encountered: