-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No reconnect after "payload connection down :shutdown, :tcp_closed}" #520
Comments
I noticed that disconnect occurs 10 minutes after connection. This value is simillar to UPD.
UPD2: I checked Producer state and got timeout on
Any suggestions why |
the stop call waits for the pid's DOWN message before returns. maybe try these:
|
@zmstone thanks for reply. |
@zmstone hi!
|
I'm have a similar problem, but now with the producers connections. Always, the first message that I try to send I got the error: Any tip how to solve it? Here the config: kafka_hosts = parse_kafka_hosts.()
config :brod,
clients: [
kafka_producer: [
endpoints: kafka_hosts,
restart_delay_seconds: 10,
auto_start_producers: true,
allow_topic_auto_creation: false,
default_producer_config: [
retry_backoff_ms: 50,
max_retries: 3,
required_acks: -1,
ack_timeout: 300,
max_linger_ms: 10,
max_linger_count: 5
]
client_id: "producer-#{System.fetch_env!("POD_NAME")}",
endpoints: kafka_hosts,
ssl: [
verify: :verify_peer,
cacertfile: "/etc/ssl/certs/ca-certificates.crt",
depth: 3,
customize_hostname_check: [
match_fun: :public_key.pkix_verify_hostname_match_fun(:https)
]
],
sasl: {
"KAFKA_sasl_mechanisms" |> System.fetch_env!() |> String.downcase() |> String.to_atom(),
System.fetch_env!("KAFKA_sasl_username"),
System.fetch_env!("KAFKA_sasl_password")
}
]
] Thanks =D |
Hi @anoskov |
Hi @robsonpeixoto |
@zmstone Hello!
|
Finally got the pieces together. This is deadlock on race between a) I think it is a BroadwayKafka issue. I close this issue. Thanks for help! |
Hello!
We have some issue with brod in kubernetes. When the service starts all consumers join to group and works fine. But after some time we got
and after this brod doesn't reconnect and kafka-consumer-groups.sh says that consumer group has no active members.
We have been using brod quite a long time and usually he did reconnect after network issues. Now we use broadway_kafka built on brod.
What could be wrong?
The text was updated successfully, but these errors were encountered: