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

Custom Record Grouping

未关闭
#297 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
58
派生
39
平均合并
2 天 10 小时
30 天内合并 PR
5

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。