Questions tagged [service-discovery]

Network protocols which allow automatic detection of devices and services offered by these devices on a computer network.

Service discovery protocols are network protocols which allow automatic detection of devices and services offered by these devices on a computer network. Service discovery requires a common language to allow software agents to make use of one another's services without the need for continuous user intervention.

Source: http://en.wikipedia.org/wiki/Service_discovery

618 questions
2
votes
1 answer

Service is not registered when configuring multiple Eureka hosts as comma separated

I have created two Eureka servers as primary and secondary. I have configured my service url in Micro services bootstrap.yml as shown below. spring: application: name: ilpproxy # Discovery Server Access eureka: client: serviceUrl: …
2
votes
1 answer

What reason is there for using service discovery instead of Kubernetes internal dns

What is the reasoning for using service discovery like Consul instead of Kubernetes internal DNS, like my-svc.my-namespace.svc.cluster.local? I am wondering because I am starting on a fairly large project and want to make sure I'm not setting myself…
Ryan McCue
  • 63
  • 1
  • 7
2
votes
1 answer

what is the recommended mechanism to distribute GRPC clients?

I've created a GRPC server and would like to distribute "SDK" clients in various languages to it. I can generate the clients relatively easily using the proto commands (for example python): python -m grpc_tools.protoc -I. --python_out=/tmp/python…
Avba
  • 14,822
  • 20
  • 92
  • 192
2
votes
0 answers

Nginx dynamic configuration

I have a couple of questions: I. Is it possible to configure nginx after startup? Example scenario: Daemon started only with knowledge of settings like HTTP url or Consul addr. Nginx fetches settings from the address provided. Nginx reload/restart…
greggyNapalm
  • 533
  • 5
  • 18
2
votes
0 answers

Eureka Server stops working after client Discovery

I have Eureka Server and Client in my application. When I am trying to Start clients Eureka Server stop responding and I get this log : 2018-07-05 18:18:22.926 DEBUG 19374 --- [nio-8761-exec-9] o.s.c.n.eureka.server.InstanceRegistry : renew…
2
votes
1 answer

Prometheus dns service discovery in docker swarm relabel instance

My question is an addition to Prometheus dns service discovery in docker swarm. I define the prometheus scrape targets as follows: - job_name: 'node-exporter' dns_sd_configs: - names: - 'tasks.nodeexporter' type: 'A' port: 9100 This…
Yannic Bürgmann
  • 6,301
  • 5
  • 43
  • 77
2
votes
0 answers

Filtering services using 'zone' tags with Spring Cloud Consul Discovery and FeignClient

We have a single Consul cluster in AWS serving all operational environments (dev, qa, uat, prod). When a service registers with Consul, the registered name by default uses spring boot application name. As a result, the same service deployed in dev,…
raffian
  • 31,267
  • 26
  • 103
  • 174
2
votes
1 answer

Who should register a service in Consul: application or init system?

Imagine I have an application which should be registered in Consul. Who should actually do this: the application itself, or whatever initialization system responsible for launching it? For example, with systemd it seems obvious to put the service…
Oleg Antonyan
  • 2,943
  • 3
  • 28
  • 44
2
votes
2 answers

WCF with discovery fails with socket not valid in its context on XP?

I'm trying to use WCF's discovery mechanism in .NET 4.0. It works on Windows 7 but fails on an XP machine with a socket exception saying that "the requested address is not valid in its context" (the endpoint is soap.udp://239.255.255.250:3702). Is…
Russ
  • 393
  • 1
  • 7
  • 18
2
votes
1 answer

what is the use of service_cluster and service_node in Envoy RDS REST API?

I am trying to develop RDS (Route Discovery Service) to be used with lyft/envoy. As per docs RDS API URL should follow GET /v1/routes/(string: route_config_name)/(string: service_cluster)/(string: service_node). What I want to know is the usage of…
wannamit
  • 117
  • 3
  • 9
2
votes
2 answers

docker-compose unable to resolve service

I am trying to build a docker-compose app consisting of an angular ui and a .net core webapi. However, the UI cannot communicate with the webapi, as I get an ERR_NAME_NOT_RESOLVED when I try to refer to the webapi. Here is my docker-compose.yml …
attero
  • 21
  • 3
2
votes
1 answer

Watson Discovery News Java API to fetch Top Stories

I am trying to develop a Java program to query on Watson Discovery news. My goal is to filter Top stories for a specified date range. Below is the query I am using in the program. Is there any API so that I can get filtered value on Top story…
Bubble
  • 31
  • 2
2
votes
1 answer

consul - connect client to server

I'm new at consul and I try to setup a server-client environment. I have started my server with the following command and configuration: consul.exe agent -ui -config-dir=P:\Consule\config The config file looks the following…
Daniel
  • 103
  • 1
  • 2
  • 9
2
votes
0 answers

Consul back up strategy (service discovery, consensus)

I am interested in creating backups (snapshots) for data being stored in consul. I am using it as my backend storage for my service. I found few tools like consulate, consul-backup which take snapshots for the data which consul stores on the disk.…
psbits
  • 1,787
  • 5
  • 19
  • 34
2
votes
1 answer

WCF UDP discovery on other network

We have two different networks in our company, 17 and 18 170.17.xxx.xxx 170.18.xxx.xxx On the 17 network there is a WCF service running which is discoverable. This is configured by the following…
Serve Laurijssen
  • 9,266
  • 5
  • 45
  • 98