This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector-examples.git
The following commit(s) were added to refs/heads/master by this push: new f2fd2b6 File Watch Example: Aligned f2fd2b6 is described below commit f2fd2b680e9c45812e49f2302b383f7dd506798f Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Mon Jan 4 12:02:42 2021 +0100 File Watch Example: Aligned --- file-watch/file-watch-source/README.adoc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/file-watch/file-watch-source/README.adoc b/file-watch/file-watch-source/README.adoc index 3b6fb79..7999c2b 100644 --- a/file-watch/file-watch-source/README.adoc +++ b/file-watch/file-watch-source/README.adoc @@ -61,11 +61,9 @@ Through kafkacat you should see the info coming in. This component return all of the information as headers. -NOTE: In the camel-file-watch component we fixed a little problem in showing the kind of event. It will be available in 3.7.0, so in CKC 0.7.0. - ``` -bin/kafka-console-producer.sh --bootstrap-server localhost:9092 --topic mytopic -Headers: CamelHeader.CamelFileAbsolute=true,CamelHeader.CamelFileAbsolutePath=/home/oscerd/test-file-watch/test.txt,CamelHeader.CamelFileLastModified=1603125050560,CamelHeader.CamelFileName=test.txt,CamelHeader.CamelFileNameConsumed=test.txt,CamelHeader.CamelFileNameOnly=test.txt,CamelHeader.CamelFileParent=/home/oscerd/test-file-watch,CamelHeader.CamelFilePath=/home/oscerd/test-file-watch/test.txt,CamelHeader.CamelFileRelativePath=test.txt,CamelProperty.CamelToEndpoint=direct://end?poll [...] +> ./kafkacat -b localhost:9092 -t mytopic -f 'Headers: %h Value: %s' +Headers: CamelHeader.CamelFileAbsolute=true,CamelHeader.CamelFileAbsolutePath=/home/oscerd/test-file-watch/test.txt,CamelHeader.CamelFileEventType=CREATE,CamelHeader.CamelFileLastModified=1609758044292,CamelHeader.CamelFileName=test.txt,CamelHeader.CamelFileNameConsumed=test.txt,CamelHeader.CamelFileNameOnly=test.txt,CamelHeader.CamelFileParent=/home/oscerd/test-file-watch,CamelHeader.CamelFilePath=/home/oscerd/test-file-watch/test.txt,CamelHeader.CamelFileRelativePath=test.txt,CamelProp [...] % Reached end of topic mytopic [0] at offset 1 ```