File tree 2 files changed +3
-2
lines changed 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ echo "${_group}Creating additional Kafka topics ..."
2
2
3
3
# NOTE: This step relies on `kafka` being available from the previous `snuba-api bootstrap` step
4
4
# 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 -T kafka kafka-topics --list --bootstrap-server kafka:9092 2> /dev/null)
6
6
NEEDED_KAFKA_TOPICS=" ingest-attachments ingest-transactions ingest-events"
7
7
for topic in $NEEDED_KAFKA_TOPICS ; do
8
8
if ! echo " $EXISTING_KAFKA_TOPICS " | grep -wq $topic ; then
Original file line number Diff line number Diff line change 17
17
# --overwrite) and fail because it is empty.
18
18
#
19
19
# 2. We need to use -T to avoid additional garbage output cluttering
20
- # credentials.json under Docker Compose 1.x and 2.2.3+.
20
+ # credentials.json under Docker Compose 1.x and 2.2.3+. Note that the
21
+ # long opt --no-tty doesn't exist in Docker Compose 1.
21
22
22
23
creds=" $dcr --no-deps -T relay credentials"
23
24
$creds generate --stdout > " $RELAY_CREDENTIALS_JSON " .tmp
You can’t perform that action at this time.
0 commit comments