raghavyadav01 opened a new pull request, #20216:
URL: https://github.com/apache/pinot/pull/20216

   ## Summary
   
   Since #20185 upgraded Kafka to 4.4.0, `master` fails to compile the Kafka 
4.0 plugin tests:
   
   ```
   KafkaPartitionLevelConsumerDataLossCheckTest.java:[42,45] cannot find symbol
     import static org.apache.kafka.common.record.RecordBatch.NO_TIMESTAMP;
   ```
   
   Kafka 4.4 moved `RecordBatch` into 
`org.apache.kafka.common.record.internal`. Every CI job that builds the plugin 
fails at this step, including unit, integration, quickstart and compatibility, 
on `master` and on every open PR.
   
   The test now uses the public `ConsumerRecord.NO_TIMESTAMP` constant, which 
has the same value (-1) and is not internal API. No other code references the 
moved class.
   
   ## Testing
   
   - `KafkaPartitionLevelConsumerDataLossCheckTest`: 7/7 pass, and the module's 
tests compile.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to