hi he page 21, code snippet is wrong, StreamsConfig config = new StreamsConfig(settings); should use variable "props", not "settings"
Properties props = new Properties();
props.put(StreamsConfig.APPLICATION_ID_CONFIG, "your-application");
props.put(StreamsConfig.BOOTSTRAP_SERVERS_CONFIG, "kafka-server-host:kafka-server-port");
StreamsConfig config = new StreamsConfig(settings); 1
StreamsBuilder builder = new StreamsBuilder(); 2
@chenhai I dont have a pdf to look, could you please help me with the chapter and section number or the lab / guided exercise name so that I can check this ?
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.