diff --git a/oslo_messaging/_drivers/kafka_driver/kafka_options.py b/oslo_messaging/_drivers/kafka_driver/kafka_options.py index 42c990cd4..c1b8bef71 100644 --- a/oslo_messaging/_drivers/kafka_driver/kafka_options.py +++ b/oslo_messaging/_drivers/kafka_driver/kafka_options.py @@ -51,9 +51,9 @@ KAFKA_OPTS = [ cfg.StrOpt('compression_codec', default='none', choices=['none', 'gzip', 'snappy', 'lz4', 'zstd'], help='The compression codec for all data generated by the ' - 'producer. Valid values are: gzip, snappy, lz4, zstd. If ' - 'not set, compression will not be used. Note that the ' - 'legal option of this depends on the kafka version'), + 'producer. If not set, compression will not be used. ' + 'Note that the allowed values of this depend on the kafka ' + 'version'), cfg.BoolOpt('enable_auto_commit', default=False,