smallrye / smallrye-stork

SmallRye Stork is a service discovery and client side-load balancing framework.

Home Page:http://smallrye.io/smallrye-stork/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quarkus DNS service discovery

rjsoph opened this issue · comments

I am trying to get DNS Service Discovery working but i get this error...

Failed to start application (with profile prod): java.lang.AbstractMethodError: Receiver class io.smallrye.stork.servicediscovery.dns.DnsServiceDiscoveryProviderLoader does not define or inherit an implementation of the resolved method 'abstract io.smallrye.stork.api.ServiceDiscovery createServiceDiscovery

I have included

<dependency>
  <groupId>io.quarkus</groupId>
  <artifactId>quarkus-smallrye-stork</artifactId>
</dependency>
<dependency>
  <groupId>io.smallrye.stork</groupId>
  <artifactId>stork-service-discovery-dns</artifactId>
  <version>1.3.0</version>
</dependency>

and have my properties setup

quarkus.stork.stripe-service.service-discovery.type=dns
quarkus.rest-client."com.xxxx.clients.stripe.StripeService".url=stork://stripe-service/micro

feels like i am missing a dependency.....

I closed this it should be a discussion first