Skip to content

[SPARK-28055][SS][DSTREAMS] Add delegation token custom AdminClient configurations.#24875

Closed
gaborgsomogyi wants to merge 4 commits into
apache:masterfrom
gaborgsomogyi:SPARK-28055
Closed

[SPARK-28055][SS][DSTREAMS] Add delegation token custom AdminClient configurations.#24875
gaborgsomogyi wants to merge 4 commits into
apache:masterfrom
gaborgsomogyi:SPARK-28055

Conversation

@gaborgsomogyi

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

At the moment Kafka delegation tokens are fetched through AdminClient but there is no possibility to add custom configuration parameters. In options there is already a possibility to add custom configurations.

In this PR I've added similar this possibility to AdminClient.

How was this patch tested?

Existing + added unit tests.

cd docs/
SKIP_API=1 jekyll build

Manual webpage check.

@gaborgsomogyi

Copy link
Copy Markdown
Contributor Author

@koertkuipers the feature is on the way what we've spoken about. Ping me if you think this area lacks something.

@SparkQA

SparkQA commented Jun 14, 2019

Copy link
Copy Markdown

Test build #106513 has finished for PR 24875 at commit 348c4ab.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@koertkuipers

Copy link
Copy Markdown
Contributor

looks good to me

@gaborgsomogyi

Copy link
Copy Markdown
Contributor Author

cc @vanzin

Comment thread docs/structured-streaming-kafka-integration.md Outdated
@koertkuipers

Copy link
Copy Markdown
Contributor

this branch works for me to set ssl.endpoint.identification.algorithm to empty string for admin client

@gaborgsomogyi

Copy link
Copy Markdown
Contributor Author

@koertkuipers Thanks for testing it!

@SparkQA

SparkQA commented Jul 1, 2019

Copy link
Copy Markdown

Test build #107072 has finished for PR 24875 at commit 30e4dd1.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA

SparkQA commented Jul 1, 2019

Copy link
Copy Markdown

Test build #107077 has finished for PR 24875 at commit 27fde79.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA

SparkQA commented Jul 1, 2019

Copy link
Copy Markdown

Test build #107075 has finished for PR 24875 at commit 52467de.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@vanzin

vanzin commented Jul 10, 2019

Copy link
Copy Markdown
Contributor

retest this please

@SparkQA

SparkQA commented Jul 11, 2019

Copy link
Copy Markdown

Test build #107488 has finished for PR 24875 at commit 27fde79.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@vanzin

vanzin commented Jul 11, 2019

Copy link
Copy Markdown
Contributor

Merging to master.

@vanzin vanzin closed this in d47c219 Jul 11, 2019
vinodkc pushed a commit to vinodkc/spark that referenced this pull request Jul 18, 2019
…onfigurations.

## What changes were proposed in this pull request?

At the moment Kafka delegation tokens are fetched through `AdminClient` but there is no possibility to add custom configuration parameters. In [options](https://spark.apache.org/docs/2.4.3/structured-streaming-kafka-integration.html#kafka-specific-configurations) there is already a possibility to add custom configurations.

In this PR I've added similar this possibility to `AdminClient`.

## How was this patch tested?

Existing + added unit tests.

```
cd docs/
SKIP_API=1 jekyll build
```
Manual webpage check.

Closes apache#24875 from gaborgsomogyi/SPARK-28055.

Authored-by: Gabor Somogyi <gabor.g.somogyi@gmail.com>
Signed-off-by: Marcelo Vanzin <vanzin@cloudera.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants