redpanda README

The project's README from github.com/redpanda-data/redpanda. As one markdown file: README.md.

Redpanda

Documentation Slack Twitter Redpanda University

redpanda icon

Redpanda is the most complete, Apache Kafka®-compatible streaming data platform, designed from the ground up to be lighter, faster, and simpler to operate. Free from ZooKeeper™ and JVMs, it prioritizes an end-to-end developer experience with a huge ecosystem of connectors, configurable tiered storage, and more.

Table of Contents

Get started

Prebuilt packages

Redpanda Data recommends using the following free, prebuilt stable releases.

Debian/Ubuntu

curl -1sLf \
  'https://linux.pkg.redpanda.com/setup-redpanda.deb.sh' \
  | sudo -E bash

sudo apt-get install redpanda

Fedora/RedHat/Amazon Linux

curl -1sLf \
  'https://linux.pkg.redpanda.com/setup-redpanda.rpm.sh' \
  | sudo -E bash

sudo yum install redpanda

macOS

Download the rpk binary here. Docker is required on MacOS.

brew install redpanda-data/tap/redpanda && rpk container start

Other Linux environments

To install from a .tar.gz archive, download the file and extract it into /opt/redpanda.

For amd64:

curl -LO https://vectorized-public.s3.us-west-2.amazonaws.com/releases/redpanda/25.2.7/redpanda-25.2.7-amd64.tar.gz

For arm64:

curl -LO https://vectorized-public.s3.us-west-2.amazonaws.com/releases/redpanda/25.2.7/redpanda-25.2.7-arm64.tar.gz

Replace 25.2.7 with the version you want to download. See Release Notes for available releases.

Build Manually

Redpanda Data uses Bazel as the build system. Bazel automatically manages most of the toolchains and third-party dependencies.

We rely on bazelisk to get the right version of bazel needed for the build. You can for example install it as follows and add it to your $PATH (or use one of the other suggested ways from their repo).

wget -O ~/bin/bazel https://github.com/bazelbuild/bazelisk/releases/latest/download/bazelisk-linux-amd64 && chmod +x ~/bin/bazel

There are a few system libraries and preinstalled tools our build assumes are available locally. To bootstrap and build redpanda along with all its tests.

sudo ./bazel/install-deps.sh
bazel build --config=release //...

For more build configurations, see .bazelrc.

Release candidate builds

Redpanda Data creates a release candidate (RC) build when we get close to a new release, and we publish it to make new features available for testing. RC builds are not recommended for production use.

RC releases on Debian/Ubuntu

curl -1sLf \
  'https://linux.pkg.redpanda.com/setup-redpanda-unstable.deb.sh' \
  | sudo -E bash

sudo apt-get install redpanda

RC releases on Fedora/RedHat/Amazon Linux

curl -1sLf \
  'https://linux.pkg.redpanda.com/setup-redpanda-unstable.rpm.sh' \
  | sudo -E bash

sudo yum install redpanda

RC releases on Docker

Example with v25.1.1-rc1:

docker pull docker.redpanda.com/redpandadata/redpanda-unstable:v25.1.1-rc1

Community

Resources

redpanda (redpanda-data/redpanda)

Searching Database…

12.6K ·GitHub
这是什么?Redpanda 是一个流式数据平台,与 Apache Kafka API 协议兼容,但它从零开始用 C++ 构建,因此更轻量、更快,也更易于运维。
它能直接替代 Kafka 的 broker 吗?能。你可以把它当作 broker(代理服务器)来运行,代替 Kafka 使用:它支持 Kafka API,但不需要 ZooKeeper,也不需要 JVM,因为它基于 Seastar 框架用 C++ 编写。
我该如何安装 Redpanda?可以使用 Debian/Ubuntu、Fedora/RedHat/Amazon Linux 的预编译软件包,也可以下载 .tar.gz 文件用于其他 Linux 发行版,或在 macOS 上获取 rpk 二进制文件。你也可以用 Bazel 手动构建。
在 macOS 上运行它需要 Docker 吗?需要。在 macOS 上你只能获得 rpk 命令行工具的二进制文件;要在本地真正运行 Redpanda broker,必须安装 Docker。
候选版本(RC)可以放心用于生产环境吗?不可以。RC 版本是为了测试新功能而提前发布的,明确不建议用于生产环境。
去掉 ZooKeeper 和 JVM 到底能带来什么好处?它去掉了 Kafka 集群通常需要的两个沉重的运维依赖,从而简化部署。这也是 Redpanda 声称能以更小的资源占用运行、速度最高可达 10 倍的部分原因。
Seastar 是什么?它为什么重要?Seastar 是 Redpanda 所基于的 C++ 异步框架,它让 Redpanda 能够绕过常见的操作系统或 JVM 开销,从而在每个 CPU 核心上获得更高的吞吐量。
Redpanda 支持分层存储吗?支持。可配置的分层存储被列为其内置功能之一,此外还有庞大的连接器生态。
我在哪里提问关于 Redpanda 的问题?项目指向一个社区 Slack 用于实时聊天,以及 GitHub Discussions 用于较长的异步讨论;GitHub Issues 则严格只用于报告 bug。
What are similar projects?kafka, rocketmq, picomq, scylladb, CMAK, questdb, advanced-java, flink
Size
164 MB
Stars
12.6K
Age
5y
Commits · 90 Days