You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampipes.apache.org by "Patrick Wiener (Jira)" <ji...@apache.org> on 2021/06/21 12:45:00 UTC

[jira] [Comment Edited] (STREAMPIPES-388) Pipeline stops writing data to mysql inside kubernetes

    [ https://issues.apache.org/jira/browse/STREAMPIPES-388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17366574#comment-17366574 ] 

Patrick Wiener edited comment on STREAMPIPES-388 at 6/21/21, 12:44 PM:
-----------------------------------------------------------------------

Hi [~sbosse]! looks like for some reason the connect-worker service can "temporarily" not resolve the Kafka service name anymore - at least if it's the case that it seems to work again after manual restart. Please provide more detail on the setup. 
 * What version of SP are you using?
 * How did you deploy SP to K8s? (using our helm chart?)
 * Whats the Kafka configuration, especially for the listeners and advertised listeners?
 * Did you check if the connect worker pod can ping the kafka service in the moment of the failure? 


was (Author: wiener):
Hi [~sbosse]! looks like for some reason the connect-worker service can "temporarily" not resolve the Kafka service name anymore - at least if it's the case that it seems to work again after manual restart. Please provide more detail on the setup. 
 * What version of SP are you using?
 * How did you deploy SP to K8s? (using our helm chart?)
 * Whats the Kafka configuration, especially for the listeners and advertised listeners?

> Pipeline stops writing data to mysql inside kubernetes 
> -------------------------------------------------------
>
>                 Key: STREAMPIPES-388
>                 URL: https://issues.apache.org/jira/browse/STREAMPIPES-388
>             Project: StreamPipes
>          Issue Type: Bug
>            Reporter: Simon Bosse
>            Priority: Major
>
> Hi,
> we are using streampipes in kubernetes where we have a mqtt broker in the same namespace which is used in a pipeline together with a mysql sink.
> The pipeline works and data is written into the database but in the morning around the same time there is no data written anymore into the database. If the pipeline is manually restarted it works again. I looked in the logs of the connect worker pod and I can see these kind of entries around the time when the pipeline stops.
> 04:08:32.561 SP [kafka-admin-client-thread | adminclient-12] WARN o.apache.kafka.clients.NetworkClient - [AdminClient clientId=adminclient-12] Error connecting to node kafka:9092 (id: 1001 rack: null) 
>  java.net.UnknownHostException: kafka
>  at java.net.InetAddress.getAllByName0(InetAddress.java:1281)
>  at java.net.InetAddress.getAllByName(InetAddress.java:1193)
>  at java.net.InetAddress.getAllByName(InetAddress.java:1127)
>  at org.apache.kafka.clients.ClientUtils.resolve(ClientUtils.java:117)
>  at org.apache.kafka.clients.ClusterConnectionStates$NodeConnectionState.moveToNextAddress(ClusterConnectionStates.java:387)
>  at org.apache.kafka.clients.ClusterConnectionStates.connecting(ClusterConnectionStates.java:121)
>  at org.apache.kafka.clients.NetworkClient.initiateConnect(NetworkClient.java:917)
>  at org.apache.kafka.clients.NetworkClient.ready(NetworkClient.java:287)
>  at org.apache.kafka.clients.admin.KafkaAdminClient$AdminClientRunnable.sendEligibleCalls(KafkaAdminClient.java:904)
>  at org.apache.kafka.clients.admin.KafkaAdminClient$AdminClientRunnable.run(KafkaAdminClient.java:1119)
>  at java.lang.Thread.run(Thread.java:823)
>  
> I also looked in the logs of the kafka container but there are no entries at this time.
> Do you know what could be the reason for this or how I can further debug it?
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)