delta.in.err
delta.in.err - Ответ с ошибкой применения дельты. Один ответ на дельту с множеством чанков.
Структура сообщения
deltaApplyErrorMessage:
description: Ответ с ошибкой применения дельты у потребителя
schemaFormat: 'application/vnd.apache.avro;version=1.9.0'
bindings:
kafka:
key:
type: string
format: uuid
description: Уникальный идентификатор подзапроса
headers:
type: object
properties:
AGENT_CONSUMER_ID:
description: Идентификатор агента потребителя
type: string
payload:
$ref: '#/components/schemas/deltaApplyError'
examples:
- name: simple
headers:
AGENT_CONSUMER_ID: agent-oktmo
payload:
requestId: 2e8c8ab2-44db-4dcb-8ae5-2365121b4e14
subRequestId:
string: 00000000-0000-0000-0000-000000000000
subscriptionId: dcf43fc7-e152-459b-8af5-48d91d4b6a21
synId: 1
errorCode: DATAMART-001
message: Непредвиденная ошибка применения дельты
Avro-схема сообщения
deltaApplyError:
schemaFormat: 'application/vnd.apache.avro;version=1.9.0'
type: record
name: DeltaApplyError
namespace: ru.rtlabs.common.replication.delta
fields:
- name: requestId
description: Уникальный идентификатор запроса
type:
type: string
logicalType: uuid
- name: subRequestId
description: Уникальный идентификатор подзапроса
default: null
type:
- 'null'
- type: string
logicalType: uuid
- name: subscriptionId
description: Уникальный идентификатор подписки
type:
type: string
logicalType: uuid
- name: synId
description: \use in replicator version 1.1\Номер дельты, на которой возникла ошибка
default: null
type:
- 'null'
- int
- name: errorCode
description: Код ошибки выполнения
type: string
- name: message
description: Сообщение об ошибке
type: string