- [Enhancement]
poll_batchandpoll_batch_nbnow return error events inline asRdkafkaErrorobjects rather than raising on the first error. The return type isArray<Message, RdkafkaError>and callers are responsible for handling errors in the result.
poll_batch and poll_batch_nb now return error events inline as RdkafkaError objects rather than raising on the first error. The return type is Array<Message, RdkafkaError> and callers are responsible for handling errors in the result.