Avro random library 'generator.generate()' is a blocking call in task poll() method of datagen source connector. Practically, it is possible to create a regex which can make this method run indefinitely.
Solution
Idea is to add a timeout for the same post which the task will fail with an exception. Timeout would be a parameter which can be configured.
Problem
Avro random library 'generator.generate()' is a blocking call in task
poll()
method of datagen source connector. Practically, it is possible to create a regex which can make this method run indefinitely.Solution
Idea is to add a timeout for the same post which the task will fail with an exception. Timeout would be a parameter which can be configured.
Does this solution apply anywhere else?
If yes, where?
NA
Test Strategy
Testing done:
Release Plan