A very succinct comparison of these 2 easily-confused distributed streaming/messaging systems. Your example with AzureEventHub using a "Namespace" to provide a "Kafka Abstracion Layer" to Java-coded Producers & Consumers was PRECISELY the explanation I was seeking for explaining AzureEventHubs to a customer! You just made my day!
The big question is it as good as kafka as far as performance? i am not sure folks who use kafka today will switch and give away all the producer and consumer configuration fine tuning options and replace it with a magic box in the cloud.
Hi, I am trying same implementation in my Maven Spring Boot + Kafka application for Producer after sending data it is hitting Azure Matrix but mentioned error I am getting , Error: 2019-07-04 12:27:31.729 INFO 92607 --- [nio-8050-exec-2] c.g.k.service.KafkaPublisherService : sending message='t' 2019-07-04 12:28:31.730 ERROR 92607 --- [nio-8050-exec-2] o.s.k.support.LoggingProducerListener : Exception thrown when sending a message with key='null' and payload='Hi' to topic testhub: org.apache.kafka.common.errors.TimeoutException: Failed to update metadata after 60000 ms. And for consumer while clean build I am getting below mentioned error: 2019-07-04 12:48:26.837 WARN 94752 --- [ main] o.s.w.c.s.GenericWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'org.springframework.kafka.config.internalKafkaListenerEndpointRegistry'; nested exception is org.apache.kafka.common.errors.TimeoutException: Timeout expired while fetching topic metadata