0

如何在 Kubernetes 上运行 Redpanda?

 2 years ago
source link: https://www.jdon.com/62252
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

如何在 Kubernetes 上运行 Redpanda?
Redpanda 是一个开发人员优先的流数据平台,兼容 Kafka -API、无 ZooKeeper、无 JVM、Jepsen 测试和可用源。速度提高 10 倍,硬件效率提高 6 倍。
您可以用 Redpanda 替换 Apache Kafka 而无需对源代码进行任何更改。相反,您将获得一种在没有 Zookeeper 和 JVM 的情况下运行现有 Kafka 应用程序的快速方法。您还将看到 Quarkus 如何使用 Redpanda 作为本地实例进行开发。

在本文中,您将学习如何在 Kubernetes 上安装和管理Redpanda。这不是我博客上第一篇与 Redpanda 相关的文章。您可以在我之前的帖子中阅读更多关于 Redpanda 的信息。我在那里描述了如何使用 Redpanda、Quarkus 和 Testcontainers 对 Java 应用程序进行本地开发。
您可以在本地开发中使用 Redpanda 作为标准 Apache Kafka Ⓡ 的替代品。它是一个兼容 Kafka API 的工具,但不使用 ZooKeeper 或 JVM。
在本文中,我将展示您也可以轻松地在 Kubernetes 上运行和使用 Redpanda。有一些有趣的功能肯定会让您感兴趣。让我们开始。

源代码
如果您想自己尝试这个练习,您可以随时查看我的源代码。为此,您需要克隆我的 GitHub 存储库。然后切换到 redpanda 分支。您将在目录中找到用于向 Kafka 发送和接收消息的示例应用程序event-driven。之后,请按照我的指示进行操作。

详细点击标题


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK