Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/okp4/kafka-processor-cosmos-tx-proto2json
Kafka Streams Processor to decode protobuf encoded CØSMOS transactions into a JSON representation
https://github.com/okp4/kafka-processor-cosmos-tx-proto2json
cosmos-sdk kafka kafka-streams
Last synced: about 1 month ago
JSON representation
Kafka Streams Processor to decode protobuf encoded CØSMOS transactions into a JSON representation
- Host: GitHub
- URL: https://github.com/okp4/kafka-processor-cosmos-tx-proto2json
- Owner: okp4
- License: bsd-3-clause
- Created: 2022-04-14T08:09:59.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-29T12:55:06.000Z (9 months ago)
- Last Synced: 2024-08-01T13:34:53.590Z (4 months ago)
- Topics: cosmos-sdk, kafka, kafka-streams
- Language: Kotlin
- Homepage:
- Size: 273 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ccamel - okp4/kafka-processor-cosmos-tx-proto2json - Kafka Streams Processor to decode protobuf encoded CØSMOS transactions into a JSON representation (Kotlin)
README
# Kafka Processor Decode Cosmos TX
[![version](https://img.shields.io/github/v/release/okp4/kafka-processor-cosmos-tx-proto2json?style=for-the-badge&logo=github)](https://github.com/okp4/kafka-processor-cosmos-tx-proto2json/releases)
[![lint](https://img.shields.io/github/actions/workflow/status/okp4/kafka-processor-cosmos-tx-proto2json/lint.yml?branch=main&label=lint&style=for-the-badge&logo=github)](https://github.com/okp4/kafka-processor-cosmos-tx-proto2json/actions/workflows/lint.yml)
[![build](https://img.shields.io/github/actions/workflow/status/okp4/kafka-processor-cosmos-tx-proto2json/build.yml?branch=main&label=build&style=for-the-badge&logo=github)](https://github.com/okp4/kafka-processor-cosmos-tx-proto2json/actions/workflows/build.yml)
[![test](https://img.shields.io/github/actions/workflow/status/okp4/kafka-processor-cosmos-tx-proto2json/test.yml?branch=main&label=test&style=for-the-badge&logo=github)](https://github.com/okp4/kafka-processor-cosmos-tx-proto2json/actions/workflows/test.yml)
[![conventional commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg?style=for-the-badge&logo=conventionalcommits)](https://conventionalcommits.org)
[![contributor covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg?style=for-the-badge)](https://github.com/okp4/.github/blob/main/CODE_OF_CONDUCT.md)
[![License](https://img.shields.io/badge/License-BSD_3--Clause-blue.svg?style=for-the-badge)](https://opensource.org/licenses/BSD-3-Clause)
[![Quarkus](https://img.shields.io/badge/Quarkus-1A2C34?logo=quarkus&logoColor=4695EB&style=for-the-badge)](https://quarkus.io)## Purpose
A Kafka Streams Processor that consumes [CØSMOS](https://github.com/cosmos/cosmos-sdk) and [ØKP4](https://github.com/okp4/okp4d)
[Protobuf](https://developers.google.com/protocol-buffers) messages from an `input` Kafka topic and sends a [JSON](https://www.json.org/json-en.html)
decoded message in the `output` topic.
## Implementation
Implementation mainly relies on [Kafka Streams API](https://kafka.apache.org/documentation/streams), library to create
event-stream applications with the following features:- no external dependency other than Kafka itself,
- simple and light library,
- fault-tolerant and scalable.Moreover, this implementation:
- uses [Kotkin](https://kotlinlang.org/) as primary coding language,
- uses [Quarkus](https://quarkus.io/) to minimize resources consumption,
- is as much as possible, lean, i.e. tries to minimize the dependencies to 3rd party libraries and the resulting package
footprint.## Build
This project targets the [JVM 11+](https://openjdk.java.net/), so be sure to have it available in your environment.
This project relies on the [Gradle](https://gradle.org/) build system.
If you are on Windows then open a command line, go into the root directory and run:
```sh
.\gradlew build
```If you are on linux/mac then open a terminal, go into the root directory and run:
```sh
./gradlew build
```This command line produces a _native_ executable: `kafka-processor-cosmos-tx-proto2json-X.Y-runner`
## You want to get involved? 😍
Please check out OKP4 health files :
- [Contributing](https://github.com/okp4/.github/blob/main/CONTRIBUTING.md)
- [Code of conduct](https://github.com/okp4/.github/blob/main/CODE_OF_CONDUCT.md)