Skip to content
프로젝트

소개

S3, PostgreSQL, SQLite, Apache Iceberg 및 Delta Lake를 지원하는 Apache Kafka® 호환 브로커

데이터 및 분석

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
+1
in 15 days
+7
in 1 month
+24

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Nisshi 🗃️

A stateless server that implements the Apache Kafka® API, with pluggable storage (PostgreSQL, SQLite, S3, memory)


License   Built with Rust  
Docs   Blog   Community  
GitHub stars


The full documentation is at docs.nisshi.io. This README and the pages in docs describe main, which can be ahead of the latest release.

What is Nisshi?

Nisshi implements the Apache Kafka® API, so applications can use their Kafka clients without a cluster of Kafka brokers to run. Nisshi brokers are stateless: they keep no data of their own, and the storage engine holds topics, messages and consumer groups, so brokers that share an engine can each answer any request.

Features:

About

Nisshi is now part of Solace. Its creator, Peter Morgan, is a key member of the Solace team that works on it. GOVERNANCE says how the project is run.

The license stays Apache 2.0, and what is open stays open.

Nisshi OSS is provided as-is, with no warranty and no Solace Support commitment. Ask questions in the Solace community. Report security issues through SECURITY.

Get Started

[!NOTE] Want the quickest way to start using Nisshi? Use a prebuilt binary. See Get Started with Nisshi.

Other ways to run Nisshi, both described in Install and run Nisshi:

Examples

Each example is a repository of its own.

Kafka clients:

  • example-kafka-python — send and receive messages with kafka-python
  • example-aiokafka — a consumer group with the asyncio Python client: start several consumers and watch the partitions rebalance
  • example-kafkajs — send messages with KafkaJS
  • example-franz — send and receive messages with franz-go, on four storage setups
  • example-java — the Apache Kafka® command-line tools, run as a test suite against Nisshi

Data lakes, from topics that have a schema:

Integrations:

  • example-pg-tx-outbox — check an order, update the database and produce a Kafka message in one PostgreSQL transaction, which works because Nisshi keeps its messages in the same database
  • example-mirror-maker — Kafka Mirror Maker copying a topic from one Nisshi cluster to another
  • example-kafka-proxy — the Nisshi proxy in front of an Apache Kafka® broker
  • example-xtdb — XTDB with its transaction log in a Nisshi topic
  • example-vehicle-telemetry — a simulated fleet of vehicles sending GPS updates, with a Grafana dashboard
  • example-knative — Knative Eventing on Kubernetes, with Nisshi as its Kafka broker

Commands

Nisshi is a single statically linked binary containing the following, described in Commands:

  • broker — an Apache Kafka®-compatible broker and schema registry
  • topic — create, list or delete topics
  • user — create, list or delete users
  • cat — consume or produce Avro, JSON or Protobuf messages to a topic
  • generator — generate fake messages for schema-backed topics (development and demos)
  • perf — measure produce and consume throughput against a broker (development and demos)
  • proxy — an Apache Kafka®-compatible proxy (development and demos, not production)

topic, user, cat, generator and perf connect in plaintext unless you give them TLS and SASL options.

Documentation

  • Get Started with Nisshi — start a broker from a prebuilt binary, and send and read a message
  • Install and run Nisshi — which release to use, installing with cargo, and running with Docker Compose
  • Storage options — the storage engines, their status, and running them with Docker Compose
  • Commands — the broker, topic, cat and proxy commands
  • Topic configuration — the topic settings Nisshi supports
  • Schema registry — validating topics with Avro, JSON Schema or Protocol Buffers
  • Data lake — where the broker writes Iceberg, Delta Lake and Parquet output, and how to remove data from it
  • Securing a broker — TLS, outbound TLS, and SASL SCRAM authentication
  • Metrics — exporting metrics over OTLP
  • Compatibility and feature status — the Kafka APIs, storage engine features and Kafka clients that are supported
  • Architecture — how the crates fit together, for contributors
  • CHANGELOG — what changed in each release, and the upgrade notes

Compatibility

Nisshi implements the Apache Kafka® wire protocol, generated from the Apache Kafka 3.9.1 message descriptors in nisshi-sans-io/message. Clients on Kafka 4.x negotiate down to those protocol versions. Idempotent producers work. Transactions are not supported, so Kafka Streams with exactly_once_v2 fails.

For the details, see Compatibility and feature status. It lists which Kafka APIs and topic configurations each storage engine supports, and the client versions CI tests along with their known gaps. Please raise an issue if a client or Kafka version you rely on behaves differently.

Feedback

Please raise an issue if you encounter a problem.

Contributing

Contributions are welcome. See CONTRIBUTING for how to get started, and GOVERNANCE for how decisions get made. Everyone participating is expected to follow our Code of Conduct. To report a security vulnerability, see SECURITY.

License

Nisshi is licensed under Apache 2.0.

Apache, Apache Kafka, Kafka and the other Apache project names in this document are trademarks of The Apache Software Foundation.

관련 프로젝트 살펴보기

불러오는 중…