Skip to content

docs(function): fix incorrect classname in python runtime sample - #12476

Merged
Anonymitaet merged 1 commit into
apache:masterfrom
ericsyh:docs-function-package
Oct 25, 2021
Merged

docs(function): fix incorrect classname in python runtime sample#12476
Anonymitaet merged 1 commit into
apache:masterfrom
ericsyh:docs-function-package

Conversation

@ericsyh

@ericsyh ericsyh commented Oct 24, 2021

Copy link
Copy Markdown
Contributor

Signed-off-by: Eric Shen ericshenyuhao@outlook.com

Motivation

The classname org.example.test.ExclamationFunction in python runtime sample of Package Pulsar Functions is incorrect. The correct classname should be --classname <python file name>.<python class name>.

Modifications

Fix the incorrect classname in python runtime sample.

Verifying this change

  • Make sure that the change passes the CI checks.

(Please pick either of the following options)

This change is a trivial rework / code cleanup without any test coverage.

(or)

This change is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

  • Added integration tests for end-to-end deployment with large payloads (10MB)
  • Extended integration test for recovery after broker failure

Does this pull request potentially affect one of the following parts:

If yes was chosen, please highlight the changes

  • Dependencies (does it add or upgrade a dependency): (no)
  • The public API: (no)
  • The schema: (no)
  • The default values of configurations: (no)
  • The wire protocol: (no)
  • The rest endpoints: (no)
  • The admin cli options: (no)
  • Anything that affects deployment: (no)

Documentation

Check the box below and label this PR (if you have committer privilege).

Need to update docs?

  • doc-required

    (If you need help on updating docs, create a doc issue)

  • no-need-doc

    (Please explain why)

  • doc

    (If this PR contains doc changes)

Signed-off-by: Eric Shen <ericshenyuhao@outlook.com>
@eolivelli eolivelli added the doc Your PR contains doc changes, no matter whether the changes are in markdown or code files. label Oct 24, 2021
@Anonymitaet
Anonymitaet requested a review from wolfstudy October 25, 2021 02:02
@Anonymitaet Anonymitaet added this to the 2.10.0 milestone Oct 25, 2021
@Anonymitaet

Anonymitaet commented Oct 25, 2021

Copy link
Copy Markdown
Member

@LeBW can you review this PR from the technical perspective? Thanks

@LeBW

LeBW commented Oct 25, 2021

Copy link
Copy Markdown
Contributor

@LeBW can you review this PR from the technical perspective? Thanks

LGTM

@Anonymitaet
Anonymitaet merged commit 33f0f52 into apache:master Oct 25, 2021
zeo1995 pushed a commit to zeo1995/pulsar that referenced this pull request Oct 25, 2021
* up/master: (46 commits)
  [website][upgrade]feat: docs migration - version-2.7.2 Pulsar Schema (apache#12393)
  [docs] io-develop, fix broken link (apache#12414)
  docs(function): fix incorrect classname in python runtime sample (apache#12476)
  Remove redundant null check for getInternalListener (apache#12474)
  Fix the retry topic's `REAL_TOPIC` & `ORIGIN_MESSAGE_ID` property should not be modified once it has been written. (apache#12451)
  [cli] Fix output format of string by pulsar-admin command (apache#11878)
  fix the race of delete subscription and delete topic (apache#12240)
  fix influxdb yaml doc (apache#12460)
  [Modernizer] Add Maven Modernizer plugin in pulsar-proxy module (apache#12326)
  fix DefaultCryptoKeyReaderTest can not run on windows (apache#12475)
  apache#12429 only fixed the compactor skips data issue, but the normal reader/consumer (apache#12464)
  broker resource group test optimize fail msg (apache#12438)
  Stop OffsetStore when stopping the connector (apache#12457)
  fix a typo in UnAckedMessageTracker (apache#12467)
  docs(function): fix typo in pip install (apache#12468)
  Optimize the code: remove extra spaces (apache#12470)
  optimize SecurityUtility code flow (apache#12431)
  Update lombok to 1.18.22 (apache#12466)
  Update team.js to add David K. as a committer (apache#12440)
  Fix java demo error in reset cursor admin (apache#12454)
  ...

# Conflicts:
#	site2/website-next/versioned_docs/version-2.7.2/schema-evolution-compatibility.md
#	site2/website-next/versioned_docs/version-2.7.2/schema-get-started.md
#	site2/website-next/versioned_docs/version-2.7.2/schema-manage.md
#	site2/website-next/versioned_docs/version-2.7.2/schema-understand.md
#	site2/website-next/versioned_sidebars/version-2.7.2-sidebars.json
@ericsyh
ericsyh deleted the docs-function-package branch November 27, 2021 08:37
eolivelli pushed a commit to eolivelli/pulsar that referenced this pull request Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Your PR contains doc changes, no matter whether the changes are in markdown or code files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants