Skip to content

Add cmd flag of retain key ordering - #8886

Merged
sijie merged 2 commits into
apache:masterfrom
wolfstudy:xiaolong/add-retain-key-ordering
Dec 11, 2020
Merged

sijie merged 2 commits into
apache:masterfrom
wolfstudy:xiaolong/add-retain-key-ordering

Conversation

@wolfstudy

Copy link
Copy Markdown
Member

Signed-off-by: xiaolong.ran [email protected]

Fixes #6527

Motivation

We already support key_shared mode on Pulsar Functions in #7647, However, this option is not exposed in the command line parameters, so users currently cannot use this function.

Modifications

In this pull request, we expose this cmd flag of --retain-key-ordering and add the docs for this.

Verifying this change

The original test can cover this option, so, in this change, no relevant code is added

Documentation

  • Does this pull request introduce a new feature? (yes)
  • If yes, how is the feature documented? (docs)
  • If a feature is not applicable for documentation, explain why?
  • If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

@sijie sijie added this to the 2.8.0 milestone Dec 11, 2020
@sijie sijie added doc-required Your PR changes impact docs and you will update later. type/feature The PR added a new feature or issue requested a new feature labels Dec 11, 2020
@sijie
sijie merged commit 8150da8 into apache:master Dec 11, 2020
@Anonymitaet Anonymitaet added doc Your PR contains doc changes, no matter whether the changes are in markdown or code files. and removed doc-required Your PR changes impact docs and you will update later. labels Mar 9, 2021
shyamvyas5 pushed a commit to pandio-com/pulsar that referenced this pull request Sep 14, 2021
Signed-off-by: xiaolong.ran <[email protected]>

Fixes apache#6527

### Motivation

We already support `key_shared` mode on Pulsar Functions in apache#7647, However, this option is not exposed in the command line parameters, so users currently cannot use this function.

### Modifications

In this pull request, we expose this cmd flag of `--retain-key-ordering` and add the docs for this.

### Verifying this change

The original test can cover this option, so, in this change, no relevant code is added

(cherry picked from commit 8150da8)
@bobosmile1170556238

bobosmile1170556238 commented Nov 19, 2021 •

Copy link
Copy Markdown

bin/pulsar-admin sinks create
--archive connectors/pulsar-io-elastic-search-2.8.0.nar
--tenant public
--namespace default
--name elasticsearch-test-sink1
--sink-config-file /pulsar/data/ElasticsearchSourceConfig.yaml
--inputs elasticsearch_test
--retain-key-ordering true
but return bash: --retain-key-ordering: command not found,why?version:2.8.0

shyamvyas5 pushed a commit to pandio-com/pulsar that referenced this pull request Dec 20, 2021
Signed-off-by: xiaolong.ran <[email protected]>

Fixes apache#6527

### Motivation

We already support `key_shared` mode on Pulsar Functions in apache#7647, However, this option is not exposed in the command line parameters, so users currently cannot use this function.

### Modifications

In this pull request, we expose this cmd flag of `--retain-key-ordering` and add the docs for this.

### Verifying this change

The original test can cover this option, so, in this change, no relevant code is added

(cherry picked from commit 8150da8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/function doc Your PR contains doc changes, no matter whether the changes are in markdown or code files. type/feature The PR added a new feature or issue requested a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Having a Key_Shared mode for functions

4 participants