fix(docker): give the postgres consumers MAE service the auth env

DE
16h ago
+1-2

Stacked on #21833.

datahub-mae-consumer-quickstart-postgres-consumers omitted the token authentication anchor and DATAHUB_SYSTEM_CLIENT_SECRET that every other MAE consumer service gets. It looks like an oversight from when the env was split per service, not a choice: nothing says it was intentional. This adds the token authentication anchor, which carries DATAHUB_SYSTEM_CLIENT_SECRET too, matching datahub-mae-consumer-quickstart-postgres-cdc, and drops the comment that flagged the gap.

This changes rendered env on purpose. The container gains three keys (snapshot diff, bare and shell scenarios):

datahub-mae-consumer-quickstart-postgres-consumers | environment.DATAHUB_SYSTEM_CLIENT_SECRET: <absent> -> "JohnSnowKnowsNothing"
datahub-mae-consumer-quickstart-postgres-consumers | environment.DATAHUB_TOKEN_SERVICE_SALT: <absent> -> "<salt>"
datahub-mae-consumer-quickstart-postgres-consumers | environment.DATAHUB_TOKEN_SERVICE_SIGNING_KEY: <absent> -> "<signing-key>"

No other container changes, and no generated quickstart file changes.

Verification:

  • Snapshot diff base vs head: 6 differences, one service, three added keys.

  • docker compose --profile quickstart-postgres-consumers config renders.

  • ./gradlew :docker:generateQuickstartComposeConfig leaves docker/quickstart/ unchanged.

  • The PR conforms to DataHub's Contributing Guideline (PR title format)

  • Tests/docs: not applicable (compose env change)

  • No breaking change

🤖 Generated with Claude Code


Summary by cubic

Fixes the datahub-mae-consumer-quickstart-postgres-consumers service in the Docker compose profile so it receives the same token authentication environment and DATAHUB_SYSTEM_CLIENT_SECRET as every other MAE consumer service. It was the only one missing these, an oversight from when the env was split per service.

The container gains DATAHUB_SYSTEM_CLIENT_SECRET, DATAHUB_TOKEN_SERVICE_SALT, and DATAHUB_TOKEN_SERVICE_SIGNING_KEY; no other service changes. Also drops the stale comment that flagged the gap.