Skip to content

For new group I can't get the consumer to instantiate the group #1038

@sstevens303

Description

@sstevens303

Description

I am trying to move my code to prod and the group has not yet been instantiated. When I run the python code I can't get it to start consuming any messages. Always get consumed 0 messages

When I tested in dev I first used the CLI to consume some messages and never had any issue until after 7 days of no testing then the issue appeared in dev. When I set reset to smallest in dev is seemed to start working but in prod it is not working and I have no access to CLI in prod. I have tried various version of the auto.reset parameter.
logs_pm_employee_kafka_consumer_redacted.log

How to reproduce

every run

Checklist

Please provide the following information:

Running as a docker container from https://packages.confluent.io/deb/4.1/archive.key
confluent-kafka==0.11.4
authentication using kerberos
broker is confluent 5.5.1
conf = {
'bootstrap.servers': f'{config_object.bootstrap_servers}',
'group.id': f'{config_object.group_id}',
'default.topic.config': {'auto.offset.reset': 'smallest'},
'security.protocol': 'SASL_SSL',
'sasl.mechanisms': 'GSSAPI',
'debug': 'ALL',
'sasl.kerberos.principal': f'{config_object.sasl_kerberos_principal}',
'sasl.kerberos.keytab': f'{config_object.sasl_kerberos_keytab}',
'sasl.kerberos.kinit.cmd': 'kinit -k -t "%{sasl.kerberos.keytab}" %{sasl.kerberos.principal}',
'ssl.ca.location': f'{config_object.ssl_ca_location}',
'error_cb': error_cb
}

group id is gcp-warehouse.privacy-mgr-compliance
topic is production.business-events.cpp.compliance-events

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugReporting an unexpected or problematic behavior of the codebase

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy