Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ISSUE-724] kafka-ssl-sink kamelet #881

Merged
merged 5 commits into from
Apr 7, 2022
Merged

Conversation

agiertli
Copy link
Contributor

@agiertli agiertli commented Apr 6, 2022

No description provided.

@agiertli agiertli changed the title [ISSUE-724] kafka-ssl kamelet [ISSUE-724] kafka-ssl-sink kamelet Apr 6, 2022
kamelets/kafka-ssl-sink.kamelet.yaml Show resolved Hide resolved
Both the headers are optional.
properties:
bootstrapServers:
description: Comma separated list of Kafka Broker URLs
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you use kafka-sink.kamelet.yaml as source, then add the specific fields for SSL connection ? As the kafka-sink already contains some properties, this kafka-ssl-sink is going to extend it.

kamelets/kafka-ssl-sink.kamelet.yaml Show resolved Hide resolved
- to:
parameters:
configuration: '#bean:{{kafka-ssl-sink-configuration-local}}'
uri: '{{kafka-ssl-sink-local}}:{{topic}}'
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you please move "uri" to above "parameters" ?

Copy link
Contributor

Choose a reason for hiding this comment

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

Uri is part of the yaml DSL and of the model, so it's not a parameter to list.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@oscerd if I understand correctly no change is needed from my side on this one?

Copy link
Contributor

Choose a reason for hiding this comment

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

This is fine

Copy link
Contributor

@oscerd oscerd left a comment

Choose a reason for hiding this comment

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

Just some minor findings, but overall it looks good. Thanks a bunch.

kamelets/kafka-ssl-sink.kamelet.yaml Show resolved Hide resolved
kamelets/kafka-ssl-sink.kamelet.yaml Show resolved Hide resolved
- to:
parameters:
configuration: '#bean:{{kafka-ssl-sink-configuration-local}}'
uri: '{{kafka-ssl-sink-local}}:{{topic}}'
Copy link
Contributor

Choose a reason for hiding this comment

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

Uri is part of the yaml DSL and of the model, so it's not a parameter to list.

@oscerd
Copy link
Contributor

oscerd commented Apr 7, 2022

Fixes #724

@oscerd oscerd merged commit 72b333a into apache:main Apr 7, 2022
@oscerd
Copy link
Contributor

oscerd commented Apr 7, 2022

Thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants