rudikershaw opened a new pull request #17417:
URL: https://github.com/apache/flink/pull/17417


   # Draft PR - Not Ready for Review
   
   ## What is the purpose of the change
   
   The EFO Kinesis connector will register and de-register stream consumers 
based on the [configured registration 
strategy](https://ci.apache.org/projects/flink/flink-docs-release-1.13/docs/connectors/datastream/kinesis/#efo-stream-consumer-registrationderegistration).
 When EAGER is used, the client (usually job manager) will register the 
consumer and then the task managers will de-register the consumer when job 
stops/fails. If the job is configured to restart on fail, then the consumer 
will not exist and the job will continuously fail over.
   
   After this change the connector will not trigger consumer reregistration in 
EFO if using the EAGER registration strategy. This will allow EAGER EFO 
configured connector applications to use restart policies without continuously 
failing. The documentation is updated accordingly.
   
   ## Brief change log
   
     - *Add dedicated utility function for determining whether consumer 
reregistration is required.*
     - *Ensure consumer deregistration now only occurs when EFO is configured 
using the LAZY registration strategy.*
     - (TODO) *Update the documentation to reflect the changes* 
   
   
   ## Verifying this change
   
   *(Please pick either of the following options)*
   
   This change is already covered by existing tests, such as *(please describe 
tests)*.
   
   *(or)*
   
   This change added tests and can be verified as follows:
   
   *(example:)*
     - *Added integration tests for end-to-end deployment with large payloads 
(100MB)*
     - *Extended integration test for recovery after master (JobManager) 
failure*
     - *Added test that validates that TaskInfo is transferred only once across 
recoveries*
     - *Manually verified the change by running a 4 node cluser with 2 
JobManagers and 4 TaskManagers, a stateful streaming program, and killing one 
JobManager and two TaskManagers during the execution, verifying that recovery 
happens correctly.*
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): No
     - The public API, i.e., is any changed class annotated with 
`@Public(Evolving)`: No
     - The serializers: No
     - The runtime per-record code paths (performance sensitive): No
     - Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Kubernetes/Yarn, ZooKeeper: Yes
     - The S3 file system connector: No
   
   ## Documentation
   
     - Does this pull request introduce a new feature? (yes / no)
     - If yes, how is the feature documented? (not applicable / docs / JavaDocs 
/ not documented)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to