-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
for: backport-to-4.2.xIssues that will be back-ported to the 4.2.x lineIssues that will be back-ported to the 4.2.x linein: infrastructurestatus: first-timers-onlyIssues that we would like first-timers only to work onIssues that we would like first-timers only to work ontype: enhancement
Milestone
Description
As of v4.3.0, the kafkaTemplate
field in KafkaItemWriter
is private. This makes it impossible to use the template in overridden methods like writeKeyValue
or write
:
KafkaItemWriter<String, String> myCustomKafkaItemWriter = new KafkaItemWriter<String, String>() {
@Override
public void write(List<? extends String> items) throws Exception {
// unable to use super.kafkaTemplate here
}
};
The visibility of the field kafkaTemplate
in KafkaItemWriter
should be changed from private
to protected
.
Metadata
Metadata
Assignees
Labels
for: backport-to-4.2.xIssues that will be back-ported to the 4.2.x lineIssues that will be back-ported to the 4.2.x linein: infrastructurestatus: first-timers-onlyIssues that we would like first-timers only to work onIssues that we would like first-timers only to work ontype: enhancement