Skip to content

lucasanjosmoraes/kafka-pubsub-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kafka-pubsub-poc

POC of a pubsub app using Kafka. It follows the confluent examples to define a consumer and a producer.

About the project

Usage

From command line

You can run either components with the name of the config file at the resources directory and the name of the topic:

;; To run the consumer
lein consumer java.config <topic name>

;; To run the producer
lein producer java.config <topic name>

The producer will publish 10 messages for test purpose.

From Intellij

There are scripts in the directory .run that allow you to run either components. You just need to choose one of them from the dropdown menu and press play 🛀🏽.

License

Copyright © 2022 Lucas dos Anjos Moraes

This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at http://www.eclipse.org/legal/epl-2.0.

This Source Code may also be made available under the following Secondary Licenses when the conditions for such availability set forth in the Eclipse Public License, v. 2.0 are satisfied: GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version, with the GNU Classpath Exception which is available at https://www.gnu.org/software/classpath/license.html.

About

POC of a pubsub app using Kafka

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published