You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "swamymavuri (via GitHub)" <gi...@apache.org> on 2023/04/01 11:05:03 UTC
[GitHub] [pulsar-adapters] swamymavuri commented on a diff in pull request #46: [Issue #45] [pulsar-client-kafka-compat] Handled Kafka record headers…
swamymavuri commented on code in PR #46:
URL: https://github.com/apache/pulsar-adapters/pull/46#discussion_r1155094507
##########
pulsar-client-kafka-compat/pulsar-client-kafka/src/test/java/org/apache/kafka/clients/consumer/PulsarKafkaConsumerTest.java:
##########
@@ -94,6 +120,10 @@ public void testPulsarKafkaConsumerWithHeaders() throws Exception {
pulsarKafkaConsumer.received(consumer, msg);
pulsarKafkaConsumer.poll(100);
pulsarKafkaConsumer.close();
+
+
+ Assert.assertNotNull(msg.getProperty(kafkaHeader));
Review Comment:
Asserted Header value from message property
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org