Page MenuHomeDevCentral

Provide Kafka and ZooKeeper instances for Sentry
ClosedPublic

Authored by dereckson on Mar 9 2023, 23:14.
Tags
None
Referenced Files
F3770382: D2871.diff
Sat, Nov 23, 20:07
F3768315: D2871.id7318.diff
Sat, Nov 23, 07:29
Unknown Object (File)
Fri, Nov 22, 12:28
Unknown Object (File)
Thu, Nov 21, 06:41
Unknown Object (File)
Tue, Nov 19, 14:26
Unknown Object (File)
Tue, Nov 19, 06:34
Unknown Object (File)
Mon, Nov 18, 18:36
Unknown Object (File)
Mon, Nov 18, 18:36
Subscribers
None

Details

Summary

Modern Sentry stacks uses Kafka to transfer messages, and ZooKepper
to coordinate Kafka instances.

Kafka topics are created 20 seconds after startup if not done in the past.
A feature flag file .topics_initialized is created to indicate it's done.

Ref T1791.

Test Plan
  • Deploy on docker-002
  • Check connectivity done between Zookeeper and Kafka with docker logs
  • Check topics with kafka-topics --list --bootstrap-server localhost:9092

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
docker-sentry-kafka
Build Status
Buildable 4533
Build 4800: arc lint + arc unit

Event Timeline

dereckson created this revision.

Kafka and zookeeper are up and healthy.

We've the Kafka topics.

It's idempotent.

This revision is now accepted and ready to land.Mar 9 2023, 23:18