application/consumer-kafka-quarkus/src/main/java/webapp/tier/service/KafkaDeliverService.java
package webapp.tier.service;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import org.eclipse.microprofile.faulttolerance.Retry;
import org.eclipse.microprofile.rest.client.inject.RegisterRestClient;
@Path("/random")
@RegisterRestClient(configKey = "random")
public interface KafkaDeliverService {
@GET
@Produces("application/json")
@Retry(maxRetries = 3)
String random();
}