Hi Robert,

first of all I’d like to welcome you to the list.

I assume you already started the developer environment such that Consul Docker 
container is running?
You can use the StreamPipes CLI to easily configure a development environment. 
You can find relevant parts from here [1].

A little bit of background: we leverage Consul for service discovery such that 
all extending services, e.g. processors etc
first register at Consul from where the StreamPipes core picks up service 
endpoints of respective extensions.
Hence, currently also for development purposes it is necessary to set of a 
minimal development environment using the CLI and
a corresponding environment template.

Can you also provide an excerpt of „docker ps -a“?

Cheers
Patrick

[1] https://streampipes.apache.org/docs/docs/extend-setup.html

> Am 27.08.2021 um 23:19 schrieb Robert Edward Herding 
> <[email protected]>:
> 
> Hello folks,
>  
> I am a developer located in South Africa.
> I have been testing StreamPipes for a few weeks now and I have decided to 
> build, a processor entity for testing and developing for a future industrial 
> use.
> Said that I start following the tutorial 
> https://streampipes.apache.org/docs/docs/extend-tutorial-data-processors.html 
> <https://streampipes.apache.org/docs/docs/extend-tutorial-data-processors.html>.
> The project is building perfectly, but when it gets to the point of 
> registering items in Consul it just loops with the message.
>  
> 22:41:53.553 SP [main] INFO  o.a.s.config.consul.ConsulSpConfig - Trying to 
> connect to Consul to register config items
> 22:41:53.554 SP [main] INFO  o.a.s.config.consul.ConsulSpConfig - Retrying in 
> 1 second
> 22:41:54.554 SP [main] INFO  o.a.s.config.consul.ConsulSpConfig - Trying to 
> connect to Consul to register config items
> 22:41:54.555 SP [main] INFO  o.a.s.config.consul.ConsulSpConfig - Retrying in 
> 1 second
> 20:41:55.555 SP [main] INFO  o.a.s.config.consul.ConsulSpConfig - Trying to 
> connect to Consul to register config items
> 20:41:55.556 SP [main] INFO  o.a.s.config.consul.ConsulSpConfig - Retrying in 
> 1 second
>  
> I am really not used to work with Consul, so have been really hard to 
> understand why it can't find it.
> I tried to change the SP_HOST in the run configuration.
>  
> localhost
> 0.0.0.0
> 127.0.0.1
> 192.168.1.1
> 192.168.1.12
> host.docker.internal
>  
> Below the docker IP and docker network.
>  
> udp        0      0 192.168.1.12:bootpc     host.docker.inte:bootps 
> ESTABLISHED 
> unix  3      [ ]         STREAM     CONNECTED     701942   
> /run/snap.docker/containerd/containerd.sock 
> unix  3      [ ]         STREAM     CONNECTED     692953   
> /run/snap.docker/containerd/containerd.sock 
> unix  3      [ ]         STREAM     CONNECTED     703571   
> /run/snap.docker/containerd/containerd.sock
>  
>  
> NETWORK ID     NAME      DRIVER    SCOPE 
> 305ea4177bdb   bridge    bridge    local
> 8c6df02eeef9   host      host      local
> ead9e6d74aa1   none      null      local
>  
> As you can see I am running linux Debian.
> Any help would be greatly appreciated.
>  
> Yours sincerely,
>  
> Robert
>  

Reply via email to