Skip to content

Commit a6cb076

Browse files
Use general kafka topic creation in self-hosted (#3121)
* use general kafka topic creation
1 parent 419d6cc commit a6cb076

File tree

3 files changed

+2
-35
lines changed

3 files changed

+2
-35
lines changed

install.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ source install/update-docker-images.sh
3434
source install/build-docker-images.sh
3535
source install/install-wal2json.sh
3636
source install/bootstrap-snuba.sh
37-
source install/create-kafka-topics.sh
3837
source install/upgrade-postgres.sh
3938
source install/set-up-and-migrate-database.sh
4039
source install/geoip.sh

install/create-kafka-topics.sh

Lines changed: 0 additions & 32 deletions
This file was deleted.

install/set-up-and-migrate-database.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ with connection.cursor() as cursor:
1919
"
2020

2121
if [[ -n "${CI:-}" || "${SKIP_USER_CREATION:-0}" == 1 ]]; then
22-
$dcr web upgrade --noinput
22+
$dcr web upgrade --noinput --create-kafka-topics
2323
echo ""
2424
echo "Did not prompt for user creation. Run the following command to create one"
2525
echo "yourself (recommended):"
2626
echo ""
2727
echo " $dc_base run --rm web createuser"
2828
echo ""
2929
else
30-
$dcr web upgrade
30+
$dcr web upgrade --create-kafka-topics
3131
fi
3232

3333
echo "${_endgroup}"

0 commit comments

Comments
 (0)