package com.yys.spark.kafka;
/**
* Kafka常用配置文件
*/
public class KafkaProperties {
//public static final String ZK =“192.168.0.236”
public static final String ZK = "spark01:2181";
public static final String TOPIC = "flume";
public static final String BROKER_LIST = "192.168.0.236:9092";
public static final String GROUP_ID = "test_group1";
}
/**
* Kafka常用配置文件
*/
public class KafkaProperties {
//public static final String ZK =“192.168.0.236”
public static final String ZK = "spark01:2181";
public static final String TOPIC = "flume";
public static final String BROKER_LIST = "192.168.0.236:9092";
public static final String GROUP_ID = "test_group1";
}