nisshi-io/solace-nisshi
À propos
Broker compatible avec Apache Kafka® prenant en charge S3, PostgreSQL, SQLite, Apache Iceberg et Delta Lake
Données et analyseProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +7
- in 1 month
- +24
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalNisshi 🗃️
A stateless server that implements the Apache Kafka® API, with pluggable storage (PostgreSQL, SQLite, S3, memory)
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:
- Implements the Apache Kafka® API
- Available with PostgreSQL, libSQL, S3 or memory storage engines
- Topics validated by JSON Schema, Apache Avro or Protocol buffers can be written as Apache Iceberg or Delta Lake tables
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:
- Docker Compose — if you have Docker installed. See Running with Docker Compose.
- cargo — if you have Rust installed, or there is no prebuilt binary for your platform, such as an Intel Mac. See Installing with crates.io.
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:
- example-pyiceberg — Apache Iceberg tables, read with pyiceberg
- example-spark — Apache Iceberg tables, queried with Apache Spark
- example-delta-lake — Delta Lake tables, queried with DuckDB
- example-parquet — Apache Parquet files on local disk
- example-rustfs — Apache Parquet files on RustFS, an S3-compatible store
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,catandproxycommands - 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.
Explorer des projets similaires
Chargement…