<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
~
~ WSO2 Inc. licenses this file to you under the Apache License,
~ Version 2.0 (the "License"); you may not use this file except
~ in compliance with the License.
~ You may obtain a copy of the License at
~
~    http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing,
~ software distributed under the License is distributed on an
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
~ KIND, either express or implied.  See the License for the
~ specific language governing permissions and limitations
~ under the License.
-->

<!--This configuration file contains the event sink related configurations which are used to store the events.-->

<AnalyticsEventSinkConfiguration>

    <!--There will be each separate queue for each tenant, and events that are received from different sources are put in -->
    <!--the respective tenants queue, so that it can be pushed to event store as collective batch. The below configuration -->
    <!--is to change the default queue size used for above explained purpose. The value of this configuration should be power
    of two. (Eg: 2^n)-->
    <QueueSize>8192</QueueSize>

    <!--Maximum total size of events that can live within the queue in MB-->
    <maxQueueCapacity>10</maxQueueCapacity>

    <!--The events will be collected as bundles with maximum size of events in KB during the high traffic.-->
    <maxBatchSize>256</maxBatchSize>

    <!--The below configuration specified how much workers used to store into the event store with collected events.-->
    <WorkerPoolSize>10</WorkerPoolSize>

</AnalyticsEventSinkConfiguration>
