You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/07/28 07:04:37 UTC

[GitHub] [camel-k-examples] KuthumiPepple commented on a diff in pull request #64: Improve Kafka example

KuthumiPepple commented on code in PR #64:
URL: https://github.com/apache/camel-k-examples/pull/64#discussion_r931853277


##########
generic-examples/kafka/sasl_ssl/SaslSSLKafkaProducer.java:
##########
@@ -23,12 +23,12 @@
 public class SaslSSLKafkaProducer extends RouteBuilder {
   @Override
   public void configure() throws Exception {
-  log.info("About to start route: Timer -> Kafka ");
-  from("timer:foo")
-    .routeId("FromTimer2Kafka")
-    .setBody()
-      .simple("Message #${exchangeProperty.CamelTimerCounter}")
-	  .to("kafka:{{producer.topic}}")
-    .log("Message correctly sent to the topic!");
+    log.info("About to start route: Timer -> Kafka ");
+    from("timer:foo")

Review Comment:
   Done



-- 
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@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org