diff --git a/kafka_consumer/assets/configuration/spec.yaml b/kafka_consumer/assets/configuration/spec.yaml index a11b05851dea0..dc5ba29d6cfd0 100644 --- a/kafka_consumer/assets/configuration/spec.yaml +++ b/kafka_consumer/assets/configuration/spec.yaml @@ -150,13 +150,6 @@ files: type: string example: localhost display_default: null - - name: ssl_context - description: | - Pre-configured SSLContext for wrapping socket connections. - If provided, all other ssl_* configurations are ignored. - value: - type: string - example: - name: ssl_check_hostname description: | Flag to configure whether SSL handshake should verify that the diff --git a/kafka_consumer/datadog_checks/kafka_consumer/config_models/defaults.py b/kafka_consumer/datadog_checks/kafka_consumer/config_models/defaults.py index 9bdb38ba5ad47..9c31395b7499d 100644 --- a/kafka_consumer/datadog_checks/kafka_consumer/config_models/defaults.py +++ b/kafka_consumer/datadog_checks/kafka_consumer/config_models/defaults.py @@ -92,10 +92,6 @@ def instance_ssl_check_hostname(field, value): return True -def instance_ssl_context(field, value): - return get_default_field_value(field, value) - - def instance_ssl_crlfile(field, value): return get_default_field_value(field, value) diff --git a/kafka_consumer/datadog_checks/kafka_consumer/config_models/instance.py b/kafka_consumer/datadog_checks/kafka_consumer/config_models/instance.py index 9d56fd50dcd71..2d0ed682755e6 100644 --- a/kafka_consumer/datadog_checks/kafka_consumer/config_models/instance.py +++ b/kafka_consumer/datadog_checks/kafka_consumer/config_models/instance.py @@ -37,7 +37,6 @@ class Config: ssl_cafile: Optional[str] ssl_certfile: Optional[str] ssl_check_hostname: Optional[bool] - ssl_context: Optional[str] ssl_crlfile: Optional[str] ssl_keyfile: Optional[str] ssl_password: Optional[str] diff --git a/kafka_consumer/datadog_checks/kafka_consumer/data/conf.yaml.example b/kafka_consumer/datadog_checks/kafka_consumer/data/conf.yaml.example index 36da315f6999c..eaa374010c5c9 100644 --- a/kafka_consumer/datadog_checks/kafka_consumer/data/conf.yaml.example +++ b/kafka_consumer/datadog_checks/kafka_consumer/data/conf.yaml.example @@ -167,12 +167,6 @@ instances: # # sasl_kerberos_domain_name: localhost - ## @param ssl_context - string - optional - ## Pre-configured SSLContext for wrapping socket connections. - ## If provided, all other ssl_* configurations are ignored. - # - # ssl_context: - ## @param ssl_check_hostname - boolean - optional - default: true ## Flag to configure whether SSL handshake should verify that the ## certificate matches the broker’s hostname.