Skip to content
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

Catch consume error "Local: Broker transport failure" and continue consume #1009

Merged
merged 1 commit into from
Jan 10, 2020

Conversation

rdotter
Copy link

@rdotter rdotter commented Jan 10, 2020

Catch the Kafka Local: Broker transport failure (error -195) error when consuming, this happens sometimes when consuming messages. When we restart the consumer everything is just OK.

Settings for connection with Kafka:

enqueue:
    kafka:
        transport:
            global:
                group.id: XXX
                metadata.broker.list: XXX
                enable.auto.offset.store: 'false'
                socket.keepalive.enable: 'true'
                topic.metadata.refresh.interval.ms: '30000'

@makasim

@Steveb-p
Copy link
Contributor

RD_KAFKA_RESP_ERR__TRANSPORT - failed to connect to single broker, or connection error for single broker

So for now I agree we can allow silent discarding of this. 👍

@makasim makasim merged commit d7137a5 into php-enqueue:master Jan 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants