dgkafka 1.0.0a11__tar.gz → 1.0.0a12__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dgkafka
3
- Version: 1.0.0a11
3
+ Version: 1.0.0a12
4
4
  Summary: Kafka clients
5
5
  Home-page: https://gitlab.com/gng-group/dgkafka.git
6
6
  Author: Malanris
@@ -27,7 +27,7 @@ class KafkaConfig(BaseModel):
27
27
 
28
28
  def get(self) -> Dict[str, Any]:
29
29
  """Get config in format suitable for confluent_kafka"""
30
- return self.model_dump(by_alias=True)
30
+ return self.model_dump(by_alias=True, exclude_none=True)
31
31
 
32
32
  @classmethod
33
33
  def set(cls, config_dict: Dict[str, Any]) -> "KafkaConfig":
@@ -56,8 +56,10 @@ class AvroConfigMixin:
56
56
  schema_registry_url: str = Field(..., alias="schema.registry.url")
57
57
  schema_registry_ssl_ca_location: Optional[str] = Field(
58
58
  default=None, alias="schema.registry.ssl.ca.location")
59
- schema_registry_basic_auth_user_info: Optional[str] = Field(
60
- default=None, alias="basic.auth.user.info")
59
+ schema_registry_ssl_certificate_location: Optional[str] = Field(
60
+ default=None, alias="schema.registry.ssl.certificate.location")
61
+ schema_registry_ssl_key_location: Optional[str] = Field(
62
+ default=None, alias="schema.registry.ssl.key.location")
61
63
 
62
64
 
63
65
  class AvroConsumerConfig(ConsumerConfig, AvroConfigMixin):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dgkafka
3
- Version: 1.0.0a11
3
+ Version: 1.0.0a12
4
4
  Summary: Kafka clients
5
5
  Home-page: https://gitlab.com/gng-group/dgkafka.git
6
6
  Author: Malanris
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "dgkafka"
7
- version = "1.0.0a11"
7
+ version = "1.0.0a12"
8
8
  authors = [
9
9
  {name = "Roman Rasputin", email = "admin@roro.su"},
10
10
  ]
File without changes
File without changes
File without changes
File without changes
File without changes