Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/viartemev/kafka-on-the-shore
Kafka on the Shore
https://github.com/viartemev/kafka-on-the-shore
coroutines kafka kafka-consumer kafka-producer kotlin library
Last synced: about 1 month ago
JSON representation
Kafka on the Shore
- Host: GitHub
- URL: https://github.com/viartemev/kafka-on-the-shore
- Owner: viartemev
- Created: 2019-02-13T19:36:47.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-14T13:00:16.000Z (almost 6 years ago)
- Last Synced: 2024-10-31T14:05:18.431Z (3 months ago)
- Topics: coroutines, kafka, kafka-consumer, kafka-producer, kotlin, library
- Language: Kotlin
- Homepage:
- Size: 53.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kafka on the Shore
### Usage:
##### - Async message sending:
```kotlin
async { kafkaProducer.dispatch(ProducerRecord("topic", "This is record")) }
```##### - Async consumer commit:
```kotlin
async { kafkaConsumer.commitAsync() }
```