Skip to content

[pulsar-spark] upgrade SparkStreamingPulsarReceiver.java use pulsar-client and add spark example#4143

Merged
sijie merged 2 commits intoapache:masterfrom
ambition119:spark-example
Apr 29, 2019
Merged

[pulsar-spark] upgrade SparkStreamingPulsarReceiver.java use pulsar-client and add spark example#4143
sijie merged 2 commits intoapache:masterfrom
ambition119:spark-example

Conversation

@ambition119
Copy link
Contributor

@ambition119 ambition119 commented Apr 26, 2019

Motivation

upgrade SparkStreamingPulsarReceiver.java use pulsar-client and add spark example

Modifications

  1. upgrade SparkStreamingPulsarReceiver.java use pulsar-client, remove pulsar-client-1x pom
  2. add simple spark example

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): (yes / no)
  • The public API: (yes / no)
  • The schema: (yes / no / don't know)
  • The default values of configurations: (yes / no)
  • The wire protocol: (yes / no)
  • The rest endpoints: (yes / no)
  • The admin cli options: (yes / no)
  • Anything that affects deployment: (yes / no / don't know)

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
  • 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

Copy link
Contributor

@merlimat merlimat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@ambition119 ambition119 changed the title [pulsar-spark] upgrade pulsar-client and add spark example [pulsar-spark] upgrade SparkStreamingPulsarReceiver.java use pulsar-client and add spark example Apr 28, 2019
@ambition119
Copy link
Contributor Author

run java8 tests

@sijie sijie added doc Your PR contains doc changes, no matter whether the changes are in markdown or code files. type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages labels Apr 29, 2019
@sijie sijie added this to the 2.4.0 milestone Apr 29, 2019
@sijie sijie merged commit 8561e02 into apache:master Apr 29, 2019
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. type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants