Kafka gateway: configurable limits that differ from Kafka

Đang mở
#4,530 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
50/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
kafka, rust
Lĩnh vực
backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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
Ngôn ngữ chính
Rust
Star
5.2k
Fork
502
Merge trung bình
3 ngày 8 giờ
Pull request đã merge (30 ngày)
146

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của apache/iggy

Tất cả issue của apache/iggy

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.