Skip to content

Instantly share code, notes, and snippets.

@pawelpluta
Created February 25, 2020 20:15
Show Gist options
  • Save pawelpluta/077ee7f21a00dad06eb4f615c90d56be to your computer and use it in GitHub Desktop.
Save pawelpluta/077ee7f21a00dad06eb4f615c90d56be to your computer and use it in GitHub Desktop.
{
"aliases": ["tc-7XCbCaQh"],
"cmd": ["sh", "-c", "while [ ! -f /testcontainers_start.sh ]; do sleep 0.1; done; /testcontainers_start.sh"],
"env": ["KAFKA_LOG_FLUSH_INTERVAL_MESSAGES=9223372036854775807", "KAFKA_BROKER_ID=1", "KAFKA_OFFSETS_TOPIC_NUM_PARTITIONS=1", "KAFKA_LISTENERS=PLAINTEXT://0.0.0.0:9093,BROKER://0.0.0.0:9092", "KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR=1", "KAFKA_INTER_BROKER_LISTENER_NAME=BROKER", "KAFKA_LISTENER_SECURITY_PROTOCOL_MAP=BROKER:PLAINTEXT,PLAINTEXT:PLAINTEXT", "KAFKA_GROUP_INITIAL_REBALANCE_DELAY_MS=0"],
"exposedPorts": [{"9093/tcp"}, {"2181/tcp"}],
"hostConfig": {
"NetworkMode": "6ef08e30cb7197399fffbc44c12502d8800ca4712efcb1dd2f740e382fa60ad8",
"PortBindings": {},
"PublishAllPorts": true
},
"image": "confluentinc/cp-kafka:5.3.0",
"labels": {
"org.testcontainers": "true",
"org.testcontainers.copied_files.hash": "1"
},
"networkMode": "6ef08e30cb7197399fffbc44c12502d8800ca4712efcb1dd2f740e382fa60ad8",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment