aravi5 opened a new pull request #1463: DRILL-6625: Intermittent failures in 
Kafka unit tests
URL: https://github.com/apache/drill/pull/1463
 
 
   ### Fix producer errors
   - Increase the value of `ProducerConfig.REQUEST_TIMEOUT_MS_CONFIG` to 
accomadate slower systems.
   - Increase the value of producer `ProducerConfig.RETRIES_CONFIG` to 3 (from 
0).
   - Prevent producer to send duplicate messages due to retries by setting 
`ProducerConfig.ENABLE_IDEMPOTENCE_CONFIG` to `true`.
   
   ### Fix consumer errors
   - Increase `ExecConstants.KAFKA_POLL_TIMEOUT` (from 200 ms).
   
   ### Stabilize KafkaFilterPushdownTest
   - Catch the issue with setup early by checking if expected number of records 
exist before running tests in `KafkaFilterPushdownTest` class.
   
   Please refer to 
[DRILL-6625](https://issues.apache.org/jira/browse/DRILL-6625) for more details 
about the fix. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to