Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use general kafka topic creation in self-hosted #3121

Conversation

hubertdeng123
Copy link
Member

@hubertdeng123 hubertdeng123 commented Jun 7, 2024

Follow up to getsentry/sentry#72338. We can now handle topic creation automatically versus manually listing out topics needed.

Copy link

codecov bot commented Jun 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.01%. Comparing base (419d6cc) to head (0fb34b6).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3121   +/-   ##
=======================================
  Coverage   99.01%   99.01%           
=======================================
  Files           3        3           
  Lines         203      203           
=======================================
  Hits          201      201           
  Misses          2        2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hubertdeng123 hubertdeng123 marked this pull request as ready for review June 10, 2024 22:33
@hubertdeng123 hubertdeng123 changed the title Try using general kafka topic creation Use general kafka topic creation in self-hosted Jun 11, 2024
@hubertdeng123 hubertdeng123 requested review from azaslavsky and a team June 11, 2024 18:14
@BYK
Copy link
Member

BYK commented Jun 12, 2024

Nice, love it! A bit weird that this flag is not enabled by default though.

@hubertdeng123
Copy link
Member Author

Nice, love it! A bit weird that this flag is not enabled by default though.

Reason why I made it an opt-in flag is because this command is used during migration tests and devenv and didn't want to risk breaking anything there.

@hubertdeng123 hubertdeng123 merged commit a6cb076 into master Jun 12, 2024
13 checks passed
@hubertdeng123 hubertdeng123 deleted the hubertdeng123/move-kafka-topics-creation-to-upgrade-command branch June 12, 2024 22:37
jamesbaber1 pushed a commit to Algo-Trading-Tools/sentry that referenced this pull request Jun 20, 2024
@msschl
Copy link

msschl commented Jun 21, 2024

While upgrading to 24.6.0 i get the following error

Error: No such option: --create-kafka-topics
Error in install/set-up-and-migrate-database.sh:30.
'$dcr web upgrade --create-kafka-topics' exited with status 2
-> ./install.sh:main:38
--> install/set-up-and-migrate-database.sh:source:30

Cleaning up...

@msschl
Copy link

msschl commented Jun 21, 2024

While upgrading to 24.6.0 i get the following error

Error: No such option: --create-kafka-topics
Error in install/set-up-and-migrate-database.sh:30.
'$dcr web upgrade --create-kafka-topics' exited with status 2
-> ./install.sh:main:38
--> install/set-up-and-migrate-database.sh:source:30

Cleaning up...

I forgot to update the versions in .env.custom to 24.6.0

@github-actions github-actions bot locked and limited conversation to collaborators Jul 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

4 participants