You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2019/05/07 06:12:00 UTC
[jira] [Created] (SLING-8400) Simplify creation of KafkaMessageInfo
Christian Schneider created SLING-8400:
------------------------------------------
Summary: Simplify creation of KafkaMessageInfo
Key: SLING-8400
URL: https://issues.apache.org/jira/browse/SLING-8400
Project: Sling
Issue Type: Improvement
Components: Content Distribution
Affects Versions: Content Distribution Journal Kafka 0.1.0
Reporter: Christian Schneider
Fix For: Content Distribution Journal Kafka 0.1.2
The constructor of KafkaMessageInfo currently takes all individual attributes as parameters.
We could simplifly this by just taking ConsumerRecord<String, ?> record. This way it works kind of like a converter.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)