confluent-kafka-python の API リファレンス
confluent-kafka-python (confluentinc/confluent-kafka-python) の公開 API 52 件 —— クラス 32、関数 7、メソッド 13。実際のソースを静的解析して抽出した正確なシグネチャを掲載しています。
リポジトリ: confluentinc/confluent-kafka-python
| 種別 | 件数 |
|---|---|
| クラス | 32 |
| 関数 | 7 |
| メソッド | 13 |
API 一覧
class
src.confluent_kafka._model.ElectionTypeEnumerates the different types of leader elections.
class
src.confluent_kafka._model.IsolationLevelEnum for Kafka isolation levels.
method
src.confluent_kafka._model.Messages.count() -> intNumber of messages in this batch.
method
src.confluent_kafka._model.Messages.is_empty() -> boolWhether this batch contains no messages.
method
src.confluent_kafka._model.Messages.records() -> List[Message]Copy of the messages in this batch.
class
src.confluent_kafka._model.NodeRepresents node information.
class
src.confluent_kafka._model.TopicPartitionInfoRepresents partition information.
func
src.confluent_kafka._oauthbearer.aws.jwt_extractor.extract_sub(jwt:str) -> strReturn the ``sub`` claim from the JWT payload.
class
src.confluent_kafka.admin._acl.AclOperationEnumerates the different types of ACL operation.
class
src.confluent_kafka.admin._config.ConfigEntryRepresents a configuration property.
method
src.confluent_kafka.admin._config.ConfigResource.set_config(name:str, value:str, overwrite:bool=True) -> NoneSet/overwrite a configuration value.
class
src.confluent_kafka.admin._group.MemberAssignmentRepresents member assignment information.
class
src.confluent_kafka.admin._group.MemberDescriptionRepresents member information.
class
src.confluent_kafka.admin._metadata.BrokerMetadataProvides information about a Kafka broker.
class
src.confluent_kafka.admin._metadata.GroupMemberProvides information about a group member.
class
src.confluent_kafka.admin._metadata.PartitionMetadataProvides information about a Kafka partition.
class
src.confluent_kafka.admin._metadata.TopicMetadataProvides information about a Kafka topic.
class
src.confluent_kafka.admin._scram.ScramMechanismEnumerates SASL/SCRAM mechanisms.
class
src.confluent_kafka.admin._scram.UserScramCredentialAlterationBase class for SCRAM credential alterations.
class
src.confluent_kafka.avro.AvroConsumer..
class
src.confluent_kafka.avro.AvroProducer..
class
src.confluent_kafka.avro.error.ClientErrorError thrown by Schema Registry clients
func
src.confluent_kafka.avro.load.load(fp)Parse a schema from a file path
class
src.confluent_kafka.avro.serializer.SerializerErrorGeneric error from serializer package
method
src.confluent_kafka.schema_registry._async.schema_registry_client.AsyncSchemaRegistryClient.get_config(subject_name:Optional[str]=None) -> 'ServerConfig'Get the current config.
method
src.confluent_kafka.schema_registry._async.schema_registry_client.AsyncSchemaRegistryClient.get_contexts(offset:int=0, limit:int=-1) -> List[str]Retrieves a list of contexts.
method
src.confluent_kafka.schema_registry._async.schema_registry_client.AsyncSchemaRegistryClient.get_mode(subject_name:str) -> strGet the mode for a subject.
method
src.confluent_kafka.schema_registry._async.schema_registry_client.AsyncSchemaRegistryClient.update_mode(subject_name:str, mode:str, force:bool=False) -> strUpdate the mode for a subject.
class
src.confluent_kafka.schema_registry._sync.schema_registry_client.SchemaRegistryClientA Confluent Schema Registry client.
method
src.confluent_kafka.schema_registry._sync.schema_registry_client.SchemaRegistryClient.get_config(subject_name:Optional[str]=None) -> 'ServerConfig'Get the current config.
method
src.confluent_kafka.schema_registry._sync.schema_registry_client.SchemaRegistryClient.get_contexts(offset:int=0, limit:int=-1) -> List[str]Retrieves a list of contexts.
method
src.confluent_kafka.schema_registry._sync.schema_registry_client.SchemaRegistryClient.get_mode(subject_name:str) -> strGet the mode for a subject.
method
src.confluent_kafka.schema_registry._sync.schema_registry_client.SchemaRegistryClient.update_mode(subject_name:str, mode:str, force:bool=False) -> strUpdate the mode for a subject.
func
src.confluent_kafka.schema_registry.common.protobuf.decimal_to_protobuf(value:Decimal, scale:int) -> decimal_pb2.DecimalConverts a Decimal to a Protobuf value.
func
src.confluent_kafka.schema_registry.common.protobuf.protobuf_to_decimal(value:decimal_pb2.Decimal) -> DecimalConverts a Protobuf value to Decimal.
class
src.confluent_kafka.schema_registry.common.schema_registry_client.RegisteredSchemaAn registered schema.
class
src.confluent_kafka.schema_registry.common.schema_registry_client.SchemaAn unregistered schema.
class
src.confluent_kafka.schema_registry.common.serde.ParsedSchemaCacheThread-safe cache for parsed schemas
method
src.confluent_kafka.schema_registry.common.serde.ParsedSchemaCache.clear()Clear the cache.
func
src.confluent_kafka.schema_registry.prefix_schema_id_serializer(payload:bytes, ctx, schema_id) -> bytesSerializes the schema id into the payload prefix.
class
src.confluent_kafka.schema_registry.rules.encryption.azurekms.azure_client.AzureKmsClientBasic Azure client for AEAD.
class
src.confluent_kafka.schema_registry.rules.encryption.dek_registry.dek_registry_client.DekRegistryClientA Confluent DEK Registry client.
class
src.confluent_kafka.schema_registry.rules.encryption.dek_registry.mock_dek_registry_client.MockDekRegistryClientA Mock DEK Registry client.
func
src.confluent_kafka.schema_registry.rules.encryption.kms_driver_registry.register_kms_driver(driver:KmsDriver) -> NoneAdds a KMS driver to a global list.
func
src.confluent_kafka.schema_registry.rules.encryption.kms_driver_registry.reset_kms_drivers() -> NoneRemoves all registered clients.
class
src.confluent_kafka.serialization.DoubleDeserializerDeserializes float to IEEE 764 binary64.
class
src.confluent_kafka.serialization.DoubleSerializerSerializes float to IEEE 764 binary64.
class
src.confluent_kafka.serialization.IntegerDeserializerDeserializes int to int32 bytes.
class
src.confluent_kafka.serialization.IntegerSerializerSerializes int to int32 bytes.
class
src.confluent_kafka.serialization.MessageFieldEnum like object for identifying Message fields.
class
src.confluent_kafka.serialization.SerializationErrorGeneric error from serializer package
class
src.confluent_kafka.serialization.StringDeserializerDeserializes a str(py2:unicode) from bytes.
この情報について
掲載しているシグネチャは confluentinc/confluent-kafka-python の公開ソースコードを
Python の ast モジュールで静的解析し、引数名・デフォルト値・
型注釈・戻り値型をそのまま抽出したものです。実装コードは保存していません。
詳しくは仕組みの解説をご覧ください。