statistics.rq ~~~~~~~~~~~~~~ ``statistics.rq`` - Топик запросов статистики витрины **Структура сообщения** .. code-block:: yaml datamartStatisticRequestMessage: description: Запрос статистики витрины schemaFormat: 'application/vnd.apache.avro;version=1.9.0' bindings: kafka: key: $ref: '#/components/schemas/datamartStatisticRequestKey' headers: type: object properties: REQUEST_ID: description: Идентификатор запроса type: string payload: $ref: '#/components/schemas/datamartStatisticRequest' examples: - name: simple headers: REQUEST_ID: 2e8c8ab2-44db-4dcb-8ae5-2365121b4e14 payload: protocol: read.statistic.protocol.v.1 requestId: 2e8c8ab2-44db-4dcb-8ae5-2365121b4e14 datamart: mnemonic: fias version: major: 1 minor: 0 **Avro-схема сообщения** .. code-block:: yaml datamartStatisticRequest: schemaFormat: 'application/vnd.apache.avro;version=1.9.0' type: record name: DatamartStatisticRequest namespace: ru.rtlabs.common.statistic fields: - name: protocol description: Версия протокола. Указывается константа read.statistic.protocol.v.1 type: string - name: requestId description: Уникальный идентификатор запроса type: type: string logicalType: uuid - name: datamart description: Витрина type: type: record name: DatamartInfo fields: - name: mnemonic description: Мнемоника витрины type: string - name: version description: Версия type: type: record name: SemanticVersion namespace: ru.rtlabs.common.model.metadata fields: - name: major type: int minimum: 1 - name: minor type: int minimum: 0