Skip to content

Conversation

@faizakram
Copy link
Owner

Summary

This Pull Request introduces support for Kafka integration, including:

  • Producer and Consumer configurations.
  • Application properties for Kafka setup.
  • Example implementations for publishing and subscribing to Kafka topics.

Changes Implemented

  1. Added KafkaProducerService for producing messages.
  2. Implemented KafkaConsumerService with annotated listeners.
  3. Configured application properties for producer and consumer.
  4. Unit tests for producer and consumer services.

How to Test

  1. Run the Spring Boot application locally.
  2. Ensure Kafka is running on localhost:9092.
  3. Use the /kafka/publish endpoint to send messages:
    curl -X POST "http://localhost:8080/kafka/publish?message=HelloKafka"

@faizakram faizakram changed the title Add Support for Kafka Integration Integrate Kafka Without Custom Configuration Class Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants