Skip to content

Commit

Permalink
Fix Kafka serde autodetection for outgoing @channel injection points
Browse files Browse the repository at this point in the history
  • Loading branch information
Ladicek committed Jun 9, 2021
1 parent d9d50a2 commit 3beeb70
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ void discoverDefaultSerdeConfig(DefaultSerdeDiscoveryState discovery,

for (AnnotationInstance annotation : discovery.findAnnotationsOnInjectionPoints(DotNames.CHANNEL)) {
String channelName = annotation.value().asString();
if (!discovery.isKafkaConnector(false, channelName)) {
if (!discovery.isKafkaConnector(false, channelName)
&& !discovery.isKafkaConnector(true, channelName)) {
continue;
}

Expand Down

0 comments on commit 3beeb70

Please sign in to comment.