Skip to content

Commit 1b5eb5c

Browse files
committed
Disable pseudo-noTty allocation in create-kafka-topics
1 parent eefbe84 commit 1b5eb5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/create-kafka-topics.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ echo "${_group}Creating additional Kafka topics ..."
22

33
# NOTE: This step relies on `kafka` being available from the previous `snuba-api bootstrap` step
44
# XXX(BYK): We cannot use auto.create.topics as Confluence and Apache hates it now (and makes it very hard to enable)
5-
EXISTING_KAFKA_TOPICS=$($dcr kafka kafka-topics --list --bootstrap-server kafka:9092 2>/dev/null)
5+
EXISTING_KAFKA_TOPICS=$($dcr --no-TTY kafka kafka-topics --list --bootstrap-server kafka:9092 2>/dev/null)
66
NEEDED_KAFKA_TOPICS="ingest-attachments ingest-transactions ingest-events"
77
for topic in $NEEDED_KAFKA_TOPICS; do
88
if ! echo "$EXISTING_KAFKA_TOPICS" | grep -wq $topic; then

0 commit comments

Comments
 (0)