December 2019
Intermediate to advanced
314 pages
6h 51m
English
To run our project on OpenShift, we will apply some minimal changes to the configuration file so that we can reach the Kafka service name we have just determined. In the following code, we have highlighted the changes that we have to apply to the application.properties file:
mp.messaging.outgoing.stock-quote.connector=smallrye-kafkamp.messaging.outgoing.stock-quote.topic=stocksmp.messaging.outgoing.stock-quote.value.serializer=org.apache.kafka.common.serialization.StringSerializermp.messaging.outgoing.stock-quote.bootstrap.servers=my-kafka-kafka-bootstrap:9092 mp.messaging.incoming.stocks.connector=smallrye-kafkamp.messaging.incoming.stocks.topic=stocksmp.messaging.incoming.stocks.value.deserializer=org.apache.kafka.common.serialization.StringDeserializer ...
Read now
Unlock full access