Provide production check list

オープン
#274 コメント 0 件 リアクション 1 件 担当者 1 名 GitHub で見る

@Yang-33 がすでに取り組んでいます。

2026年4月14日 から。

評価

この issue はまだ評価されていません。

説明

As one of Decaton user with several years of experience, I've noticed there are several key pieces of information that beginners often overlook. Though the Javadoc itself is well written and contains no hidden traps, it would be great if we could create documentation that enables beginners to use Decaton with the confidence of an expert.

To that end, we'd like to propose adding more documentation, specifically in the form of a Production Checklist and Troubleshooting guide. While documentation can drift from the code over time, I don't believe this will create an unmanageable maintenance burden. Decaton's core fundamentals are already stable, and AI tools can assist with updates, though it's not perfect.

At a minimum, I'd like to cover the following topics. I'll also be gathering feedback from other Decaton users.

  • Metrics List: A list of key metrics, their names, and when to use them. (https://github.com/line/decaton/issues/189 is lated)
  • Alerting: What alerts should be configured?
  • Subpartitions: When should you increase subpartitions, and when should you not?
  • Pending Records: When should you increase the pending records limit, and when should you not?
  • deferCompletion: What safety nets should be in place when using it?(alert, log, timeout, ...)
  • Retry: You should create retry topic, because you encounter failure someday. Decide eternal retry or giving up, with proper retry backoff
  • Assume at-least-once: You can't achieve exactly-once
  • Select runtime: You should care resource efficiency, if your consumer processes massive messages
  • Use better kafka client: producing may fail even decaton's retry, you should care this case
  • Rebalancing, Restarting app: It takes time when your configuration is wrong
  • Ordering Guarantees: When is ordering guaranteed, and when is it not?
  • Safer chaining: Best practices for safer chaining (e.g., the producer on consumer pattern).
  • Skew: Strategies for handling a sudden spike in traffic for a specific key (e.g., ignore key, subpartitioning, PerKeyQuota).
主要言語
Java
スター
373
フォーク
61
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

line/decaton のほかの issue

line/decaton の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。