Skip to content

Commit

Permalink
Point to GitHub issue that we work around
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito committed Nov 10, 2023
1 parent d9ff85f commit 576e4ef
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/hexkit/providers/akafka/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,6 @@ def tc_start(self) -> None:
host = self.get_container_host_ip()
port = self.get_exposed_port(self.port)
listeners = f"{protocol}://{host}:{port},BROKER://127.0.0.1:{self.broker_port}"
# In the following script, first start the ZooKeeper and then launch the
# Kafka broker. The configuration in the Docker image checks for the
# existence of key and trust store files which we do not need, since we
# pass the certificates and keys directly to the broker. Therefore, we
# deactivate these checks in the "configure" script before running it.
script = f"""
#!/bin/bash
c=/etc/confluent/docker
Expand All @@ -164,6 +159,7 @@ def tc_start(self) -> None:
echo "dataDir=/var/lib/zookeeper/data" >> $p
echo "dataLogDir=/var/lib/zookeeper/log" >> $p
zookeeper-server-start $p &
# workaround for https://github.com/confluentinc/kafka-images/issues/244
sed -i -E '/^if .*LISTENERS.*SSL:/,/^fi/d' $c/configure
$c/configure && $c/launch
"""
Expand Down

0 comments on commit 576e4ef

Please sign in to comment.