Class: KafkaRestClient::Configuration
- Inherits:
-
Object
- Object
- KafkaRestClient::Configuration
- Defined in:
- lib/kafka_rest_client/configuration.rb
Class Attribute Summary collapse
-
.current ⇒ Object
Returns the value of attribute current.
Instance Attribute Summary collapse
-
#kafka_proxy_url ⇒ Object
Returns the value of attribute kafka_proxy_url.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#schema_registry_url ⇒ Object
Returns the value of attribute schema_registry_url.
-
#timeout ⇒ Object
Returns the value of attribute timeout.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize(options = {}) ⇒ Configuration
Returns a new instance of Configuration.
14 15 16 17 18 19 |
# File 'lib/kafka_rest_client/configuration.rb', line 14 def initialize( = {}) @kafka_proxy_url = [:kafka_proxy_url] @schema_registry_url = [:schema_registry_url] @timeout = [:timeout] @logger = [:logger] end |
Class Attribute Details
.current ⇒ Object
Returns the value of attribute current.
7 8 9 |
# File 'lib/kafka_rest_client/configuration.rb', line 7 def current @current end |
Instance Attribute Details
#kafka_proxy_url ⇒ Object
Returns the value of attribute kafka_proxy_url.
5 6 7 |
# File 'lib/kafka_rest_client/configuration.rb', line 5 def kafka_proxy_url @kafka_proxy_url end |
#logger ⇒ Object
Returns the value of attribute logger.
5 6 7 |
# File 'lib/kafka_rest_client/configuration.rb', line 5 def logger @logger end |
#schema_registry_url ⇒ Object
Returns the value of attribute schema_registry_url.
5 6 7 |
# File 'lib/kafka_rest_client/configuration.rb', line 5 def schema_registry_url @schema_registry_url end |
#timeout ⇒ Object
Returns the value of attribute timeout.
5 6 7 |
# File 'lib/kafka_rest_client/configuration.rb', line 5 def timeout @timeout end |