You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/01/05 09:54:10 UTC

[camel-kafka-connector-examples] 01/01: Git Source Branch Example: Aligned output to latest release

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch git-source-branch
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector-examples.git

commit e6c5a84fbeeb5832750f15709a676a2e37382036
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Jan 5 10:54:03 2021 +0100

    Git Source Branch Example: Aligned output to latest release
---
 git/git-source-branch/README.adoc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/git/git-source-branch/README.adoc b/git/git-source-branch/README.adoc
index ca5d65b..5b2e6cb 100644
--- a/git/git-source-branch/README.adoc
+++ b/git/git-source-branch/README.adoc
@@ -88,9 +88,9 @@ On a different terminal run the kafkacat consumer
 
 [source]
 ----
-> ./kafkacat -b localhost:9092 -t mytopic
+> ./kafkacat -b localhost:9092 -t mytopic -f 'Headers: %h Value: %s'
 % Auto-selecting Consumer mode (use -P or -C to override)
-Ref[refs/heads/master=13c428bca29cd813485855df649bea7e38342694(-1)]
+Headers: CamelHeader.CamelGitBranchLeaf=refs/heads/master,CamelHeader.CamelGitBranchObjectId=13c428bca29cd813485855df649bea7e38342694,CamelProperty.CamelToEndpoint=direct://end?pollingConsumerBlockTimeout=0&pollingConsumerBlockWhenFull=true&pollingConsumerQueueSize=1000 Value: refs/heads/master
 % Reached end of topic db26 [0] at offset 1
 ----
 
@@ -106,6 +106,6 @@ Getting back to the consumer terminal we should see something like
 
 [source]
 ----
-Ref[refs/heads/test_repo=13c428bca29cd813485855df649bea7e38342694(-1)]
+CamelHeader.CamelGitBranchLeaf=refs/heads/test_repo,CamelHeader.CamelGitBranchObjectId=184aae4d863144a1bea5de752cf2f2f1c9800d38,CamelProperty.CamelToEndpoint=direct://end?pollingConsumerBlockTimeout=0&pollingConsumerBlockWhenFull=true&pollingConsumerQueueSize=1000 Value: refs/heads/test_repo
 % Reached end of topic mytopic [0] at offset 2
 ----