-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
Add Kafka options to yorkie-cluster and missing WriteTimeout #1149
Conversation
Caution Review failedThe pull request is closed. WalkthroughThe changes extend Kafka integration in the application. In the Kubernetes deployment configuration, two new command-line arguments ( Changes
Sequence Diagram(s)sequenceDiagram
participant Config as Deployment Config
participant Template as Template Engine
participant Container as Yorkie Container
Config->>Template: Check for kafkaAddresses and kafkaTopic
alt Kafka config provided
Template-->>Container: Inject --kafka-addresses and --kafka-topic args
else
Template-->>Container: Proceed without kafka args
end
Container->>Container: Start with given arguments
sequenceDiagram
participant User as Operator
participant ServerCmd as Server Command Initialization
participant MsgBroker as Kafka Configurator
User->>ServerCmd: Execute server command
ServerCmd->>MsgBroker: Build config with Addresses, Topic, and WriteTimeout
MsgBroker-->>ServerCmd: Return complete Kafka configuration
ServerCmd->>User: Launch server with Kafka integration
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
✨ Finishing Touches
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1149 +/- ##
==========================================
- Coverage 38.59% 38.46% -0.13%
==========================================
Files 165 169 +4
Lines 25293 25434 +141
==========================================
+ Hits 9761 9783 +22
- Misses 14712 14830 +118
- Partials 820 821 +1 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution.
What this PR does / why we need it:
Add deployment template with configurable Kafka options and resolves
missing write timeout settings.
Which issue(s) this PR fixes:
Address #1130
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
Additional documentation:
Checklist:
Summary by CodeRabbit