Edit

PFEventPipelineConfig

Defines the Event Pipeline configuration.

Syntax

struct PFEventPipelineConfig {  
    uint32_t* maxEventsPerBatch;  
    uint32_t* maxWaitTimeInSeconds;  
    uint32_t* pollDelayInMs;  
    HCCompressionLevel* compressionLevel;  
    bool* retryOnDisconnect;  
    size_t* bufferSize;  
}  

Members

maxEventsPerBatch   uint32_t*
may be nullptr

The maximum number events that will be batched before writing them to PlayFab. If sent null, default value will be used (5 for Telemetry / 5 for PlayStream).

maxWaitTimeInSeconds   uint32_t*
may be nullptr

The maximum time the pipeline will wait before sending out an incomplete batch. If sent null, default value will be used (3 for Telemetry / 3 for PlayStream).

pollDelayInMs   uint32_t*
may be nullptr

How long the pipeline will wait to read from the event buffer again after emptying it. If sent null, default value will be used (10 for Telemetry / 10 for PlayStream).

compressionLevel   HCCompressionLevel*
may be nullptr

The event pipeline will send events using GZIP compression with the level specified. If sent null, no compression will be made.

retryOnDisconnect   bool*
may be nullptr

The event pipeline will retry sending events that failed due to lost connection. If sent null, default behavior will be to retry (true) (not available for PlayStream).

bufferSize   size_t*
may be nullptr

The limit of the amount of events in the pipeline's buffer. If sent null, default value will be used (1024 for either type).

Requirements

Header: PFEventPipeline.h

See also

PFEventPipeline members