Skip to content

Commit

Permalink
Use general kafka topic creation in self-hosted (getsentry#3121)
Browse files Browse the repository at this point in the history
* use general kafka topic creation
  • Loading branch information
hubertdeng123 authored and jamesbaber1 committed Jun 20, 2024
1 parent b1dcac8 commit fdf7eab
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 35 deletions.
1 change: 0 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ source install/update-docker-images.sh
source install/build-docker-images.sh
source install/install-wal2json.sh
source install/bootstrap-snuba.sh
source install/create-kafka-topics.sh
source install/upgrade-postgres.sh
source install/set-up-and-migrate-database.sh
source install/geoip.sh
Expand Down
32 changes: 0 additions & 32 deletions install/create-kafka-topics.sh

This file was deleted.

4 changes: 2 additions & 2 deletions install/set-up-and-migrate-database.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ with connection.cursor() as cursor:
"

if [[ -n "${CI:-}" || "${SKIP_USER_CREATION:-0}" == 1 ]]; then
$dcr web upgrade --noinput
$dcr web upgrade --noinput --create-kafka-topics
echo ""
echo "Did not prompt for user creation. Run the following command to create one"
echo "yourself (recommended):"
echo ""
echo " $dc_base run --rm web createuser"
echo ""
else
$dcr web upgrade
$dcr web upgrade --create-kafka-topics
fi

echo "${_endgroup}"

0 comments on commit fdf7eab

Please sign in to comment.