Gotchas: hbf-data-manager
Package-specific non-obvious patterns and pitfalls. Loaded on demand when working on this package.
- Dual-guard setup:
HBFGuardon read endpoints (calls hbf-core/users/me),DMJwtGuardon delete endpoints (local HS256,DM_AUTH_JWT_SECRET). The DM JWT issuer is hbf-core viaDataManagerClient— not hbf-data-retention. - No dead-letter queue: Messages failing all 3 retries are silently dropped. Source has a
// TODO: Consider adding DLQcomment. - Kafka topic name mismatch with hbf-bot: hbf-data-manager defaults to
interaction-metadata; hbf-bot defaults tohbf.interaction.metadata. Both are env-configurable viaKAFKA_TOPICS— must match in deployment config.