Skip to content

Conversation

@iht
Copy link
Contributor

@iht iht commented Jul 16, 2024

This adds a base class and two providers for the new SolaceIO write connector. The basic authentication provider just uses a username and password.

Users can write their own providers to set authentication mechanisms and other session properties, by extending from the base class. As an example, we provide a GoogleCloudSecretProvider, to show how to create your own. This provider can also be used "as is", but it is mainly meant as an example to implement your own.

In upcoming PRs, I will be submitting the rest of the write connector. It is thousands of lines of code, so I am splitting in smaller PRs, to facilitate code reviews.

All these PRs are part of the SolaceIO Write feature request #31905

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests
Go tests

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

This adds a base class and two providers for the new SolaceIO write
connector. The basic authentication provider just uses a username and
password.

Users can write their own providers to set authentication mechanisms
and other session properties, by extending from the base class. As an
example, we provide a GoogleCloudSecretProvider, to show how to create
your own. This provider can also be used "as is", but it is mainly
meant as an example to implement your own.

In upcoming PRs, I will be submitting the rest of the write
connector. It is thousands of lines of code, so I am splitting in
smaller PRs, to facilitate code reviews.

This PR contributes to apache#31905
@github-actions
Copy link
Contributor

Checks are failing. Will not request review until checks are succeeding. If you'd like to override that behavior, comment assign set of reviewers

@iht
Copy link
Contributor Author

iht commented Jul 17, 2024

assign set of reviewers

@github-actions
Copy link
Contributor

Assigning reviewers. If you would like to opt out of this review, comment assign to next reviewer:

R: @Abacn for label java.
R: @Abacn for label build.
R: @chamikaramj for label io.

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

The PR bot will only process comments in the main thread (not review comments).

Copy link
Contributor

@Abacn Abacn left a comment

Choose a reason for hiding this comment

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

Thanks. I notice that this change may overlap with existing BasicAuthJcsmpSessionServiceFactory currently used for read transform. Consider make it fit with both read and write transform? So user have consistent way to configure read and write IO

*
* <h2>Writing</h2>
*
* TBD
Copy link
Contributor

Choose a reason for hiding this comment

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

note - public facing doc. subjected to update before next release cut

Copy link
Contributor

@Abacn Abacn left a comment

Choose a reason for hiding this comment

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

thank you!

@Abacn Abacn merged commit 04ed95d into apache:master Jul 22, 2024
iht added a commit to iht/beam that referenced this pull request Jul 23, 2024
…1905

This adds the interface of the Write connector and a few classes (data
classes, POutput) that are used by the connector.
iht added a commit to iht/beam that referenced this pull request Jul 23, 2024
…1905

This adds the interface of the Write connector and a few classes (data
classes, POutput) that are used by the connector.
Abacn pushed a commit that referenced this pull request Jul 29, 2024
This adds the interface of the Write connector and a few classes (data
classes, POutput) that are used by the connector.
reeba212 pushed a commit to reeba212/beam that referenced this pull request Dec 4, 2024
…1906)

* JCSMP properties providers for new SolaceIO write connector

This adds a base class and two providers for the new SolaceIO write
connector. The basic authentication provider just uses a username and
password.

Users can write their own providers to set authentication mechanisms
and other session properties, by extending from the base class. As an
example, we provide a GoogleCloudSecretProvider, to show how to create
your own. This provider can also be used "as is", but it is mainly
meant as an example to implement your own.

In upcoming PRs, I will be submitting the rest of the write
connector. It is thousands of lines of code, so I am splitting in
smaller PRs, to facilitate code reviews.

This PR contributes to apache#31905

* Fix CheckStyle and Spotbugs errors

* Fix class dependencies declaration

* Unify session and auth providers/factories for the read and write connectors

* Fix format violations in comment
reeba212 pushed a commit to reeba212/beam that referenced this pull request Dec 4, 2024
…1905 (apache#31953)

This adds the interface of the Write connector and a few classes (data
classes, POutput) that are used by the connector.
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.

2 participants