> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFEventPipelineConfig

> Defines the Event Pipeline configuration.

Defines the Event Pipeline configuration.

## Syntax

```cpp theme={null}
struct PFEventPipelineConfig {  
    uint32_t* maxEventsPerBatch;  
    uint32_t* maxWaitTimeInSeconds;  
    uint32_t* pollDelayInMs;  
    HCCompressionLevel* compressionLevel;  
    bool* retryOnDisconnect;  
    size_t* bufferSize;  
}  
```

### Members

**`maxEventsPerBatch`**   uint32\_t\*<br />*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\*<br />*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\*<br />*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\*<br />*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\*<br />*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\*<br />*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](/services/playfab/api-references/c/pfeventpipeline/pfeventpipeline_members)


## Related topics

- [PFEventPipelineUpdateConfiguration](/services/playfab/api-references/c/pfeventpipeline/functions/pfeventpipelineupdateconfiguration.md)
- [Event Pipeline Tutorial](/services/playfab/sdks/c/event-pipeline/eventpipeline-tutorial.md)
- [Services C API overview - PFEventPipeline.h](/services/playfab/api-references/c/pfeventpipeline/pfeventpipeline_members.md)
- [PlayFab Services SDK - Event Pipeline](/services/playfab/sdks/c/event-pipeline/eventpipeline.md)
- [PlayFab Services C/C++ SDK Release Notes](/services/playfab/release-notes/playfab-c/index.md)
