Read a boolean value from the properties instance
Read a boolean value from the properties instance
The property name
The default value to use if the property is not found
the boolean value
Parse compression codec from a property list in either.
Parse compression codec from a property list in either. Codecs may be specified as integers, or as strings. See kafka.message.CompressionCodec for more details.
The property name
Default compression codec
compression codec
Get an optional argument as a double
Get an optional argument as a double
The property name
The default value for the property if not present
Get a required argument as a double
Get a required argument as a double
The property name
the value
IllegalArgumentException
If the given property is not present
Read an integer from the properties instance
Read an integer from the properties instance
The property name
The default value to use if the property is not found
the integer value
Read a required integer property value or throw an exception if no such property is found
Read an integer from the properties instance.
Read an integer from the properties instance. Throw an exception if the value is not in the given range (inclusive)
The property name
The default value to use if the property is not found
The range in which the value must fall (inclusive)
the integer value
IllegalArgumentException
If the value is not in the given range
Read an long from the properties instance
Read an long from the properties instance
The property name
The default value to use if the property is not found
the long value
Read a required long property value or throw an exception if no such property is found
Read an long from the properties instance.
Read an long from the properties instance. Throw an exception if the value is not in the given range (inclusive)
The property name
The default value to use if the property is not found
The range in which the value must fall (inclusive)
the long value
IllegalArgumentException
If the value is not in the given range
Get a Map[String, String] from a property list in the form k1:v2, k2:v2, ...
Get a string property or throw and exception if no such property is defined.
Get a string property, or, if no such property is defined, return the given default value