• Tutorials
  • Courses
  • Tracks

Advance Java Quiz Day 73

Last Updated :
Discuss
Comments

Question 1

What type of communication does Apache Kafka provide between microservices?

  • Synchronous

  • Asynchronous

  • Blocking

  • Request-Response

Question 2

In Spring Boot, which annotation is used to listen to Kafka topics?

  • @KafkaProducer

  • @KafkaListener

  • @MessageConsumer

  • @EventHandler

Question 3

Which dependency is required in a Spring Boot project to use Apache Kafka?

  • spring-boot-starter-webflux

  • spring-kafka

  • spring-boot-starter-data-jpa

  • spring-boot-starter-batch

Question 4

In Kafka, which component is responsible for storing messages?

  • Producer

  • Consumer

  • Topic

  • Broker

Question 5

Which property in Spring Boot’s application.properties defines the Kafka server address?

  • spring.kafka.producer.bootstrap-address

  • spring.kafka.bootstrap-servers

  • spring.kafka.server

  • spring.kafka.url

There are 5 questions to complete.

Take a part in the ongoing discussion