Coder Social home page Coder Social logo

yws-tracy / kop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from streamnative/kop

0.0 0.0 0.0 2.14 MB

Kafka-on-Pulsar - A protocol handler that brings native Kafka protocol to Apache Pulsar

Home Page: https://streamnative.io/docs/kop

License: Apache License 2.0

Shell 0.30% Java 97.33% Dockerfile 0.60% Python 0.49% Go 0.46% JavaScript 0.41% Rust 0.41%

kop's Introduction

Kafka-on-Pulsar (KoP)

KoP (Kafka on Pulsar) brings the native Apache Kafka protocol support to Apache Pulsar by introducing a Kafka protocol handler on Pulsar brokers. By adding the KoP protocol handler to your existing Pulsar cluster, you can migrate your existing Kafka applications and services to Pulsar without modifying the code. This enables Kafka applications to leverage Pulsar’s powerful features, such as:

  • Streamlined operations with enterprise-grade multi-tenancy
  • Simplified operations with a rebalance-free architecture
  • Infinite event stream retention with Apache BookKeeper and tiered storage
  • Serverless event processing with Pulsar Functions

KoP, implemented as a Pulsar protocol handler plugin with the protocol name "kafka", is loaded when Pulsar broker starts. It helps reduce the barriers for people adopting Pulsar to achieve their business success by providing a native Kafka protocol support on Apache Pulsar. By integrating the two popular event streaming ecosystems, KoP unlocks new use cases. You can leverage advantages from each ecosystem and build a truly unified event streaming platform with Apache Pulsar to accelerate the development of real-time applications and services.

KoP implements the Kafka wire protocol on Pulsar by leveraging the existing components (such as topic discovery, the distributed log library - ManagedLedger, cursors and so on) that Pulsar already has.

The following figure illustrates how the Kafka-on-Pulsar protocol handler is implemented within Pulsar.

What's New in KoP 2.8.0

The following new features are introduced in KoP 2.8.0.

  • Offset management
  • Message encoding and decoding
  • OAuth 2.0 authentication
  • Metrics related to produce, fetch and request

Enhancement

The following enhancement is added in KoP 2.8.0.

  • Support more clients for Kafka admin
  • Enable advertised listeners, so users can use Envoy Kafka filter directly

Deprecated features

The property name of Kafka listener listeners is deprecated. Instead, you can use kafkaListeners since KoP 2.8.0.

Version compatibility

Since Pulsar 2.6.2, KoP version changes with Pulsar version accordingly. The version of KoP x.y.z.m conforms to Pulsar x.y.z, while m is the patch version number.

KoP version Pulsar version
2.8.0 Pulsar 2.8.0
2.7.0 Pulsar 2.7.0
2.6.2 Pulsar 2.6.2
0.3.0 Pulsar 2.6.1
0.2.0 Pulsar 2.5.0
0.1.0 Pulsar 2.5.0

How to use KoP

You can configure and manage KoP based on your requirements. Check the following guides for more details.

Project Maintainers

kop's People

Contributors

aloyszhang avatar anonymitaet avatar bewaremypower avatar congbobo184 avatar dependabot[bot] avatar dockerzhang avatar gaoran10 avatar hangc0276 avatar huanli-meng avatar jennifer88huang-zz avatar jiazhai avatar josephglanville avatar jpenning-tibco avatar lifepuzzlefun avatar linlinnn avatar ltamber avatar pierrez avatar ptirupac-tibco avatar sijie avatar tsywkgo avatar wmccarley avatar wolfstudy avatar wuzhanpeng avatar yuanboliu avatar zymap avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.