我正在使用响应式卡夫卡(akka kafka 流):
https://doc.akka.io/docs/akka-stream-kafka/current/consumer.html
使用reactive-kafka的以下代码的等价物是什么?
import org.apache.kafka.clients.consumer.KafkaConsumer
...
val properties = new Properties()
properties.put("bootstrap.servers", "kafka:9092")
val kafkaConsumer = new KafkaConsumer[String, String](properties)
kafkaConsumer.partitionsFor("my-topic")