Kafka gateway: configurable limits that differ from Kafka

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

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
50/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
kafka, rust
領域
backend

調査の方向性

The issue names no files. Start by finding where max_frame_size, the group caps and the CreateTopics limits are defined in the Kafka gateway code, and check how the kafka.cg.<group> offset group name is built. Done means each group cap and CreateTopics cap can be set by an environment variable, and each limit is documented next to its Kafka value. Settle the variable names with a maintainer before writing code.

索引モデルが issue の本文から書いたものです。

説明

gateways

Summary

Some gateway limits are lower than Kafka's, so the gateway refuses requests that Kafka accepts:

  • max_frame_size is 8 MiB. Kafka accepts requests up to socket.request.max.bytes, which is 100 MiB.
  • The group caps have no environment variables: 1000 groups, 1000 members per group and 10,000 in total, 64 KiB per member blob, and 4 MiB per group. A large Kafka Streams assignment can pass 64 KiB.
  • CreateTopics takes at most 1000 partitions per topic and 100 topics per request.
  • A group id is at most 246 bytes, because its Iggy offset group kafka.cg.<group> must fit in 255 bytes. Kafka accepts longer ids.
  • Fetch polls at most 1000 messages per partition at a time, returns uncompressed batches, and has no fetch sessions. That costs bandwidth and CPU, not correctness.

Scope

  • Environment variables for the group caps and the CreateTopics caps
  • Document each limit next to the Kafka value
主要言語
Rust
スター
5.2k
フォーク
502
平均マージ
3日 8時間
マージ済み PR(30日)
146

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

apache/iggy のほかの issue

apache/iggy の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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