git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

R: KafkaHeaderFilterStrategy bug?


What is the camel versione you're talking about?

Inviato da Yahoo Mail su Android 
 
  Il sab, 21 lug, 2018 alle 21:34, Darrell King<kingdarrella@xxxxxxxxx> ha scritto:   Hi,
I think there might be a small bug when invoking KafkaHeaderFilterStrategy.

KafkaProducer.java calls:
headerFilterStrategy.applyFilterToExternalHeaders(entry.getKey(),
entry.getValue(), exchange)

KafkaConsumer.java calls:
headerFilterStrategy.applyFilterToCamelHeaders(header.key(),
header.value(), exchange)

I think KafkaProducer should be calling applyFilterToCamelHeaders and
KafkaConsumer should be calling applyFilterToExternalHeaders.

regards

Darrell