yurake/k8s-3tier-webapp

View on GitHub
application/consumer-kafka-quarkus/src/main/java/webapp/tier/service/KafkaDeliverService.java

Summary

Maintainability
A
0 mins
Test Coverage
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();

}