olp-cpp-sdk  1.22.0
Public Member Functions | List of all members
olp::dataservice::read::ConsumerProperties Class Referencefinal

Holds all Kafka consumer properties that should be passed to the Stream API. More...

#include <ConsumerProperties.h>

Public Member Functions

 ConsumerProperties (ConsumerOptions properties)
 Creates the ConsumerProperties instance. More...
 
 ConsumerProperties (std::initializer_list< ConsumerOption > properties)
 Creates the ConsumerProperties instance. More...
 
const ConsumerOptions & GetProperties () const
 Gets the ConsumerProperties instance. More...
 

Detailed Description

Holds all Kafka consumer properties that should be passed to the Stream API.

Constructor & Destructor Documentation

◆ ConsumerProperties() [1/2]

olp::dataservice::read::ConsumerProperties::ConsumerProperties ( ConsumerOptions  properties)
inlineexplicit

Creates the ConsumerProperties instance.

Parameters
propertiesThe ConsumerOptions instances.

◆ ConsumerProperties() [2/2]

olp::dataservice::read::ConsumerProperties::ConsumerProperties ( std::initializer_list< ConsumerOption properties)
inline

Creates the ConsumerProperties instance.

Parameters
propertiesThe list of the ConsumerProperties instances.

Member Function Documentation

◆ GetProperties()

const ConsumerOptions& olp::dataservice::read::ConsumerProperties::GetProperties ( ) const
inline

Gets the ConsumerProperties instance.

Returns
The ConsumerProperties instance.

The documentation for this class was generated from the following file: