Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Bump kop version to 2.12.0.1-SNAPSHOT #1733

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 19 additions & 13 deletions .github/workflows/documentbot.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
Expand All @@ -21,13 +20,13 @@
name: Auto Labeling

on:
pull_request_target :
pull_request_target:
types:
- opened
- edited
- labeled
- opened
- edited
- labeled




# A GitHub token created for a PR coming from a fork doesn't have
# 'admin' or 'write' permission (which is required to add labels)
Expand All @@ -39,13 +38,20 @@ jobs:
labeling:
if: ${{ github.repository == 'streamnative/kop' }}
permissions:
pull-requests: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: streamnative/github-workflow-libraries/doc-label-check@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
label-pattern: '- \[(.*?)\] ?`(.+?)`' # matches '- [x] `label`'
- uses: s4u/[email protected]
with:
servers: '[{"id": "ossrh", "username": "${{ secrets.SONATYPE_USERNAME }}",
"password": "${{ secrets.SONATYPE_PASSWORD }}"}]'
- name: Login to cloudsmith
run: docker login -u="${{ secrets.CLOUDSMITH_USERNAME }}" -p="${{ secrets.CLOUDSMITH_API_KEY
}}" docker.cloudsmith.io
- uses: actions/checkout@v2

- uses: streamnative/github-workflow-libraries/doc-label-check@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
label-pattern: '- \[(.*?)\] ?`(.+?)`' # matches '- [x] `label`'

18 changes: 13 additions & 5 deletions .github/workflows/pr-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ name: kop tests
on:
pull_request:
branches:
- master
- branch-*
- master
- branch-*
push:
branches:
- master
- branch-*
- master
- branch-*

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -20,6 +20,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: s4u/[email protected]
with:
servers: '[{"id": "ossrh", "username": "${{ secrets.SONATYPE_USERNAME }}",
"password": "${{ secrets.SONATYPE_PASSWORD }}"}]'
- name: Login to cloudsmith
run: docker login -u="${{ secrets.CLOUDSMITH_USERNAME }}" -p="${{ secrets.CLOUDSMITH_API_KEY
}}" docker.cloudsmith.io
- uses: actions/checkout@v1
- name: Set up JDK 17
uses: actions/setup-java@v1
Expand Down Expand Up @@ -55,7 +62,8 @@ jobs:
run: mvn test -ntp -B -DfailIfNoTests=false -pl oauth-client

- name: tests module
run: mvn test -ntp -B -DfailIfNoTests=false '-Dtest=!KafkaIntegration*Test' -pl tests
run: mvn test -ntp -B -DfailIfNoTests=false '-Dtest=!KafkaIntegration*Test'
-pl tests
timeout-minutes: 60

- name: Upload to Codecov
Expand Down
23 changes: 15 additions & 8 deletions .github/workflows/release-note.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,25 @@ name: KoP Release Notes
on:
push:
branches:
- master
- master
path-ignores:
- 'docs/**'
- 'README.md'
- 'CONTRIBUTING.md'
- 'docs/**'
- 'README.md'
- 'CONTRIBUTING.md'
jobs:
build:

runs-on: ubuntu-latest

steps:
- name: release note
uses: toolmantim/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: s4u/[email protected]
with:
servers: '[{"id": "ossrh", "username": "${{ secrets.SONATYPE_USERNAME }}",
"password": "${{ secrets.SONATYPE_PASSWORD }}"}]'
- name: Login to cloudsmith
run: docker login -u="${{ secrets.CLOUDSMITH_USERNAME }}" -p="${{ secrets.CLOUDSMITH_API_KEY
}}" docker.cloudsmith.io
- name: release note
uses: toolmantim/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20 changes: 10 additions & 10 deletions docs/kop.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
download: "https://github.com/streamnative/kop/releases/download/v{{protocol:version}}/pulsar-protocol-handler-kafka-{{protocol:version}}.nar"
download: "https://github.com/streamnative/kop/releases/download/v2.12.0.1-SNAPSHOT/pulsar-protocol-handler-kafka-2.12.0.1-SNAPSHOT.nar"
alias: KoP - Kafka on Pulsar
---

Expand All @@ -21,7 +21,7 @@ The following figure illustrates how the Kafka-on-Pulsar protocol handler is imp
# Get Started with KoP

If you have an Apache Pulsar cluster, you can enable Kafka-on-Pulsar on your existing Pulsar cluster by downloading and installing the KoP protocol handler to Pulsar brokers directly. It takes three steps:
1. Download KoP protocol handler, or build the `./kafka-impl/target/pulsar-protocol-handler-kafka-{{protocol:version}}.nar` file, and then copy it to your Pulsar `protocols` directory.
1. Download KoP protocol handler, or build the `./kafka-impl/target/pulsar-protocol-handler-kafka-2.12.0.1-SNAPSHOT.nar` file, and then copy it to your Pulsar `protocols` directory.
2. Set the configuration of the KoP protocol handler in Pulsar `broker.conf` or `standalone.conf` files.
3. Restart Pulsar brokers to load KoP protocol handler.

Expand Down Expand Up @@ -54,7 +54,7 @@ To build the KoP protocol handler from the source, follow thse steps.
3. Get the `.nar` file in the following directory and copy it your Pulsar `protocols` directory. You need to create the `protocols` folder in Pulsar if it's the first time you use protocol handlers.

```bash
./kafka-impl/target/pulsar-protocol-handler-kafka-{{protocol:version}}.nar
./kafka-impl/target/pulsar-protocol-handler-kafka-2.12.0.1-SNAPSHOT.nar
```

## Set configuration for KoP
Expand Down Expand Up @@ -161,13 +161,13 @@ You can configure and manage KoP based on your requirements. Check the following
>
> The following links are invalid when you check this document in the `master` branch from GitHub. You can go to the same chapter of the [README](../README.md) for the correct links.

- [Configure KoP](https://github.com/streamnative/kop/blob/branch-{{protocol:version}}/docs/configuration.md)
- [Monitor KoP](https://github.com/streamnative/kop/blob/branch-{{protocol:version}}/docs/reference-metrics.md)
- [Upgrade](https://github.com/streamnative/kop/blob/branch-{{protocol:version}}/docs/upgrade.md)
- [Secure KoP](https://github.com/streamnative/kop/blob/branch-{{protocol:version}}/docs/security.md)
- [Schema Registry](https://github.com/streamnative/kop/blob/branch-{{protocol:version}}/docs/schema.md)
- [Manage KoP with the Envoy proxy](https://github.com/streamnative/kop/blob/branch-{{protocol:version}}/docs/envoy-proxy.md)
- [Implementation: How to converse Pulsar and Kafka](https://github.com/streamnative/kop/blob/branch-{{protocol:version}}/docs/implementation.md)
- [Configure KoP](https://github.com/streamnative/kop/blob/branch-2.12.0.1-SNAPSHOT/docs/configuration.md)
- [Monitor KoP](https://github.com/streamnative/kop/blob/branch-2.12.0.1-SNAPSHOT/docs/reference-metrics.md)
- [Upgrade](https://github.com/streamnative/kop/blob/branch-2.12.0.1-SNAPSHOT/docs/upgrade.md)
- [Secure KoP](https://github.com/streamnative/kop/blob/branch-2.12.0.1-SNAPSHOT/docs/security.md)
- [Schema Registry](https://github.com/streamnative/kop/blob/branch-2.12.0.1-SNAPSHOT/docs/schema.md)
- [Manage KoP with the Envoy proxy](https://github.com/streamnative/kop/blob/branch-2.12.0.1-SNAPSHOT/docs/envoy-proxy.md)
- [Implementation: How to converse Pulsar and Kafka](https://github.com/streamnative/kop/blob/branch-2.12.0.1-SNAPSHOT/docs/implementation.md)

The followings are important information when you configure and use KoP.

Expand Down
2 changes: 1 addition & 1 deletion kafka-0-10/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>pulsar-protocol-handler-kafka-parent</artifactId>
<groupId>io.streamnative.pulsar.handlers</groupId>
<version>2.11.0-SNAPSHOT</version>
<version>2.12.0.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion kafka-0-9/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>pulsar-protocol-handler-kafka-parent</artifactId>
<groupId>io.streamnative.pulsar.handlers</groupId>
<version>2.11.0-SNAPSHOT</version>
<version>2.12.0.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion kafka-1-0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>pulsar-protocol-handler-kafka-parent</artifactId>
<groupId>io.streamnative.pulsar.handlers</groupId>
<version>2.11.0-SNAPSHOT</version>
<version>2.12.0.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion kafka-2-8/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>pulsar-protocol-handler-kafka-parent</artifactId>
<groupId>io.streamnative.pulsar.handlers</groupId>
<version>2.11.0-SNAPSHOT</version>
<version>2.12.0.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion kafka-3-0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>pulsar-protocol-handler-kafka-parent</artifactId>
<groupId>io.streamnative.pulsar.handlers</groupId>
<version>2.11.0-SNAPSHOT</version>
<version>2.12.0.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion kafka-client-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>pulsar-protocol-handler-kafka-parent</artifactId>
<groupId>io.streamnative.pulsar.handlers</groupId>
<version>2.11.0-SNAPSHOT</version>
<version>2.12.0.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion kafka-client-factory/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>pulsar-protocol-handler-kafka-parent</artifactId>
<groupId>io.streamnative.pulsar.handlers</groupId>
<version>2.11.0-SNAPSHOT</version>
<version>2.12.0.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion kafka-impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>io.streamnative.pulsar.handlers</groupId>
<artifactId>pulsar-protocol-handler-kafka-parent</artifactId>
<version>2.11.0-SNAPSHOT</version>
<version>2.12.0.1-SNAPSHOT</version>
</parent>

<groupId>io.streamnative.pulsar.handlers</groupId>
Expand Down
2 changes: 1 addition & 1 deletion kafka-payload-processor-shaded-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>pulsar-protocol-handler-kafka-parent</artifactId>
<groupId>io.streamnative.pulsar.handlers</groupId>
<version>2.11.0-SNAPSHOT</version>
<version>2.12.0.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion kafka-payload-processor-shaded/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>pulsar-protocol-handler-kafka-parent</artifactId>
<groupId>io.streamnative.pulsar.handlers</groupId>
<version>2.11.0-SNAPSHOT</version>
<version>2.12.0.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion kafka-payload-processor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>pulsar-protocol-handler-kafka-parent</artifactId>
<groupId>io.streamnative.pulsar.handlers</groupId>
<version>2.11.0-SNAPSHOT</version>
<version>2.12.0.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion oauth-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<artifactId>pulsar-protocol-handler-kafka-parent</artifactId>
<groupId>io.streamnative.pulsar.handlers</groupId>
<version>2.11.0-SNAPSHOT</version>
<version>2.12.0.1-SNAPSHOT</version>
</parent>

<artifactId>oauth-client</artifactId>
Expand Down
Loading