Skip to content

history eventhub is configured with --cleanup-policy Delete instead of Compact. #11

@jeacott1

Description

@jeacott1

The sample history hub configured is configured as follows.

echo "deploying schema history event hub"
az eventhubs eventhub create \
    --resource-group $RESOURCE_GROUP \
    --namespace-name $EVENTHUB_NAMESPACE \
    --name $EVENTHUB_SCHEMA_HISTORY \
    --partition-count 1 \
    --cleanup-policy Delete \
    --retention-time-in-hours 168 \
    --output none

This seems like terrible advice for any production environment.
Shouldn't it be cleanup-policy compact and infinite retention?

however, when I set this I cannot get debezium to write to the topic/hub without CORRUPT_MESSAGE errors. Works fine when --cleanup-policy Delete

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions