Skip to content

3.7.1 Deprecations and breaking changes

Julien Viet edited this page May 19, 2019 · 3 revisions

API

Vert.x Core

Vert.x Kafka Client

  • Breaking
    • Currently the Kafka write overloaded method provides as async result the record metadata write(KafkaProducerRecord<K, V>, Handler<AsyncResult<RecordMetaData>>. Vert.x WriteStream defines so far the write(KakfaProducerRecord<K,V>) method which gets overloaded with write(KafkaProducerRecord<K, V>, Handler<AsyncResult<Void>>) in 3.7.1 as part of an improvement for write streams. We need to rename the current write(KafkaProducerRecord<K, V>, Handler<AsyncResult<RecordMetaData>>) to send(KafkaProducerRecord<K, V>, Handler<AsyncResult<RecordMetaData>>) and change the async result type of write to be void. See https://github.com/vert-x3/vertx-kafka-client/issues/134
Clone this wiki locally
You can’t perform that action at this time.