You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/12/01 13:51:00 UTC
[jira] [Commented] (KAFKA-6293) Support for Avro formatter in
ConsoleConsumer With Confluent Schema Registry
[ https://issues.apache.org/jira/browse/KAFKA-6293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16274421#comment-16274421 ]
ASF GitHub Bot commented on KAFKA-6293:
---------------------------------------
GitHub user ethiebaut opened a pull request:
https://github.com/apache/kafka/pull/4282
KAFKA-6293 Support for Avro formatter in ConsoleConsumer
Support for Avro formatter in ConsoleConsumer With Confluent Schema Registry as per https://issues.apache.org/jira/browse/KAFKA-6293
This adds the ability the display Avro payloads when listening for messages in kafka-console-consumer.sh.
This proposed PR will display Avro payloads (in JSON) when executed with the following parameters:
bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic mytopic --confluent-server localhost:8081 --formatter kafka.tools.AvroMessageFormatter
This contribution is my original work and I license the work to the project under the project's open source license.
All tests passed:
BUILD SUCCESSFUL in 21m 18s
90 actionable tasks: 60 executed, 30 up-to-date
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ethiebaut/kafka avro-deserializer
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/4282.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #4282
----
commit a49102979ddd0183070e8aef2cf1cafb9ee317cd
Author: Eric Thiebaut-George <et...@tycoint.com>
Date: 2017-12-01T12:54:39Z
KAFKA-6293 Support for Avro formatter in ConsoleConsumer With Confluent Schema Registry
----
> Support for Avro formatter in ConsoleConsumer With Confluent Schema Registry
> ----------------------------------------------------------------------------
>
> Key: KAFKA-6293
> URL: https://issues.apache.org/jira/browse/KAFKA-6293
> Project: Kafka
> Issue Type: Improvement
> Components: core
> Reporter: Eric Thiebaut-George
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Add the ability the display Avro payloads when listening for messages in kafka-console-consumer.sh.
> The proposed PR will display Avro payloads (in JSON) when executed with the following parameters:
> bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic mytopic --confluent-server localhost:8081 --formatter kafka.tools.AvroMessageFormatter
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)