Skip to content

Conversation

@gaborgsomogyi
Copy link
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
Contributor Author

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

@SparkQA
Copy link

SparkQA commented Jun 14, 2019

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
Contributor

looks good to me

@gaborgsomogyi
Copy link
Contributor Author

cc @vanzin

@koertkuipers
Copy link
Contributor

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

@gaborgsomogyi
Copy link
Contributor Author

@koertkuipers Thanks for testing it!

@SparkQA
Copy link

SparkQA commented Jul 1, 2019

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
Copy link

SparkQA commented Jul 1, 2019

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
Copy link

SparkQA commented Jul 1, 2019

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
Copy link
Contributor

vanzin commented Jul 10, 2019

retest this please

@SparkQA
Copy link

SparkQA commented Jul 11, 2019

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
Copy link
Contributor

vanzin commented Jul 11, 2019

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 <[email protected]>
Signed-off-by: Marcelo Vanzin <[email protected]>
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