Aiven-Open / Aiven-Open/cloud-storage-connectors-for-apache-kafka

Custom Record Grouping

Đang mở
#297 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
58
Fork
39
Merge trung bình
2 ngày 10 giờ
Pull request đã merge (30 ngày)
5

Mô tả

We have a requirement to do some grouping based on
1. a timestamp in the **payload** (not current time of the kafka envelope time)
2. other custom fields in the payload

This is for Avro records going the GCS (for us) but clearly could be generalised

What I was thinking is to bypass the `RecordGroupingFactory` to allow for a custom record grouping to be defined, probably by a configuration parameter
So mostly a change to `AivenCommonConfig` to enable the parameter, `RecordGroupingFactory` to observe it

I am happy to submit a PR if this looks to be the "right" way to do this, but I am new to this library and happy to take a steer first

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

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.