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

adding a reg type prop to Kinesis source #71

Closed
wants to merge 2 commits into from

Conversation

LizaMo
Copy link
Contributor

@LizaMo LizaMo commented Mar 15, 2023

This introduces a registration type property to the Kinesis source, with Lazy as default as per flink Kinesis implementation

@LizaMo LizaMo requested a review from nextdude as a code owner March 15, 2023 23:53
Copy link
Contributor

@nextdude-mdsol nextdude-mdsol left a comment

Choose a reason for hiding this comment

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

Do you know if this property solves your problem with running kinesis? It seems pretty specialized. My question is why add this property, while not adding other EFO properties, or other properties in general? It is possible to configure this without adding this specific property. Also, we should have some tests to prove the configuration actually sets the value properly.

@@ -142,9 +142,16 @@ case class KinesisSourceConfig[ADT <: FlinkEvent](
config.getStringOpt
).getOrElse(s"${config.jobName}.$name")

val efoRegistrationType : String = getFromEither(
pfx(),
Seq("efo.registration.type", "flink.stream.efo.registration.type", EFO_REGISTRATION_TYPE),
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't EFO_REGISTRATION_TYPE = "flink.stream.efo.regionstration.type"? Don't need both.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

EFO_REGISTRATION_TYPE = "flink.stream.efo.registration"

@nextdude
Copy link
Collaborator

We handled this a different way. Closing without merging.

@nextdude nextdude closed this Mar 31, 2023
@nextdude nextdude deleted the feature/kinesisRegistrationStrategy branch March 31, 2023 07:09
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