external/HelloServiceImpl.java
public class HelloServiceImpl implements HelloService {
/*FallBack*/
@Override
public void hello(Hello hello){
throw new UnsupportedOperationException("Unimplemented method 'hello'");
}
}
mvn spring-boot:run
실행InHello
OutHello
gateway
http POST [localhost:8088/hellos](http://localhost:8088/hellos) hello=”hello”
http POST [localhost:8088/](http://localhost:8088/hellos)worlds world=”world”
kafka-console-consumer —bootstrap-server [localhost:9092](http://localhost:9092) —topic gcumsa2
http :8088/hellos id=1 hello=”hello”
http :8088/worlds id=1 world=”helloworld”
References: 가천 SW 아카데미