Skip to content

Type hint missing for "from confluent_kafka import Message" #1310

Open
@1st

Description

@1st

Description

The cimpl is a binary and IDE can't import definition from it.

image

How to reproduce

I see that in my VS Code IDE it's an error telling that it can't import the Message:

from confluent_kafka import Message

image

Checklist

Please provide the following information:

  • confluent-kafka-python and librdkafka version (confluent_kafka.version() -> ('1.8.2', 17302016) and confluent_kafka.libversion() -> ('1.8.2', 17302271)):
  • Apache Kafka broker version:
  • Client configuration: {...}
  • Operating system: Linux
  • Provide client logs (with 'debug': '..' as necessary)
  • Provide broker log excerpts
  • Critical issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementRequesting a feature changepriority:highMaintainer triage tag for indicating high impact or criticality issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions