GH-63: Remove ZK property - no longer needed

Fixes https://github.com/spring-cloud/spring-cloud-stream-samples/issues/63
This commit is contained in:
Gary Russell
2018-05-14 15:32:56 -04:00
committed by Artem Bilan
parent 4616e4c2f9
commit a2056507ec

View File

@@ -40,6 +40,7 @@ import org.junit.BeforeClass;
import org.junit.ClassRule;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.kafka.core.DefaultKafkaConsumerFactory;
import org.springframework.kafka.core.DefaultKafkaProducerFactory;
@@ -75,7 +76,6 @@ public class EmbeddedKafkaApplicationTests {
@BeforeClass
public static void setup() {
System.setProperty("spring.cloud.stream.kafka.binder.brokers", embeddedKafka.getBrokersAsString());
System.setProperty("spring.cloud.stream.kafka.binder.zkNodes", embeddedKafka.getZookeeperConnectionString());
}
@Test