首页
Java
登录
6mi
u
盘
搜
搜 索
Java
sparkstreaming之kafka---KafkaClientApp
sparkstreaming之kafka---KafkaClientApp
xiaoxiao
2021-02-28
32
package com.yys.spark.kafka; /** * Kafka Java API测试 */ public class KafkaClientApp { public static void main(String[] args) { new KafkaProducer(KafkaProperties.TOPIC).start(); new KafkaConsumer(KafkaProperties.TOPIC).start(); } }
转载请注明原文地址: https://www.6miu.com/read-2620383.html
技术
最新回复
(
0
)