apiVersion: jenkins.io/v1 kind: PipelineActivity metadata: annotations: lighthouse.jenkins-x.io/cloneURI: https://github.com/greencapitaltrade/pepper.git lighthouse.jenkins-x.io/job: release pipeline.jenkins-x.io/traceID: 9dc649f2d362fa842b4db6f94442e141 creationTimestamp: "2026-07-11T08:59:53Z" generation: 11 labels: branch: main build: "25" context: release created-by-lighthouse: "true" event-GUID: deb0b8a0-7d06-11f1-8271-3460ef3458f9 lighthouse.jenkins-x.io/baseSHA: 5911aae9af01a750a670bbc1ce67883be61036c5 lighthouse.jenkins-x.io/branch: main lighthouse.jenkins-x.io/buildNum: "1783760393095" lighthouse.jenkins-x.io/context: release lighthouse.jenkins-x.io/id: capitaltrade-pepper-main-release-scq6r lighthouse.jenkins-x.io/job: release lighthouse.jenkins-x.io/lastCommitSHA: 5911aae9af01a750a670bbc1ce67883be61036c5 lighthouse.jenkins-x.io/refs.org: greencapitaltrade lighthouse.jenkins-x.io/refs.repo: pepper lighthouse.jenkins-x.io/type: postsubmit owner: greencapitaltrade podName: capitaltrade-pepper-main-release-r2fzl-from-build-pack-pod provider: github repository: pepper tekton.dev/pipeline: capitaltrade-pepper-main-release managedFields: - apiVersion: jenkins.io/v1 fieldsType: FieldsV1 fieldsV1: f:metadata: f:labels: f:branch: {} f:context: {} f:owner: {} f:provider: {} f:repository: {} f:spec: f:lastCommitMessage: {} f:lastCommitSHA: {} f:releaseNotesURL: {} f:version: {} manager: jx-changelog-0.10.22 operation: Update time: "2026-07-11T09:33:19Z" - apiVersion: jenkins.io/v1 fieldsType: FieldsV1 fieldsV1: f:metadata: f:annotations: .: {} f:lighthouse.jenkins-x.io/cloneURI: {} f:lighthouse.jenkins-x.io/job: {} f:pipeline.jenkins-x.io/traceID: {} f:labels: .: {} f:build: {} f:created-by-lighthouse: {} f:event-GUID: {} f:lighthouse.jenkins-x.io/baseSHA: {} f:lighthouse.jenkins-x.io/branch: {} f:lighthouse.jenkins-x.io/buildNum: {} f:lighthouse.jenkins-x.io/context: {} f:lighthouse.jenkins-x.io/id: {} f:lighthouse.jenkins-x.io/job: {} f:lighthouse.jenkins-x.io/lastCommitSHA: {} f:lighthouse.jenkins-x.io/refs.org: {} f:lighthouse.jenkins-x.io/refs.repo: {} f:lighthouse.jenkins-x.io/type: {} f:podName: {} f:tekton.dev/pipeline: {} f:spec: .: {} f:baseSHA: {} f:batchPipelineActivity: {} f:build: {} f:buildLogsUrl: {} f:completedTimestamp: {} f:context: {} f:gitBranch: {} f:gitOwner: {} f:gitRepository: {} f:gitUrl: {} f:message: {} f:pipeline: {} f:startedTimestamp: {} f:status: {} f:steps: {} manager: jx-build-controller operation: Update time: "2026-07-11T09:35:44Z" name: greencapitaltrade-pepper-main-25 namespace: jx resourceVersion: "179241536" uid: 4f60ebf2-2d2d-4b90-bf8d-d73823526275 spec: baseSHA: 5911aae9af01a750a670bbc1ce67883be61036c5 batchPipelineActivity: {} build: "25" buildLogsUrl: s3://logs-gct-prod-20260425045301534100000007/jenkins-x/logs/greencapitaltrade/pepper/main/25.log completedTimestamp: "2026-07-11T09:35:07Z" context: release gitBranch: main gitOwner: greencapitaltrade gitRepository: pepper gitUrl: https://github.com/greencapitaltrade/pepper.git lastCommitMessage: | chore: upgrade @greencapitaltrade/utils → enable kafka client.rack (AZ-aware fetch) Upgrade @greencapitaltrade/utils from ^9.2.x to ^9.5.0 to enable Kafka rack awareness, reducing cross-AZ data transfer costs for consumer fetch. The utils KafkaManager already resolves rackId via: 1. NODE_AZ env var (Downward API — fastest) 2. KAFKA_CLIENT_RACK env var (explicit override) 3. EC2 IMDSv2 (fallback, 500ms timeout) When rackId is set, KafkaJS passes client.rack to the broker. Strimzi's RackAwareReplicaSelector then steers FetchRequests to same-AZ follower replicas, eliminating cross-AZ traffic for all consumers. Helm changes: - deployment.yaml: add NODE_AZ from topology.kubernetes.io/zone annotation - run-campaings.yaml (cron): add NODE_AZ - send-sms.yaml (cron): add NODE_AZ database-archival.yaml (cron) is unmodified — it runs a bash script that doesn't use Kafka. No code changes required — rack awareness is automatic once the utils version is bumped and NODE_AZ is available. Expected outcome: - Consumers log resolved rack: ap-south-1a/b/c - AWS Cost Explorer: ~$187/mo reduction in cross-AZ data transfer Part of cross-AZ cost reduction initiative. Co-Authored-By: Claude Sonnet 4.5 lastCommitSHA: 59b737266a4482dc17835cbea2fd482cf84ab1c3 message: 'Tasks Completed: 1 (Failed: 0, Cancelled 0), Skipped: 0' pipeline: greencapitaltrade/pepper/main releaseNotesURL: https://github.com/greencapitaltrade/pepper/releases/tag/v1.3.0 startedTimestamp: "2026-07-11T08:59:53Z" status: Succeeded steps: - kind: Stage stage: completedTimestamp: "2026-07-11T09:35:07Z" name: from build pack startedTimestamp: "2026-07-11T09:22:08Z" status: Succeeded steps: - completedTimestamp: "2026-07-11T09:23:09Z" name: Git Clone startedTimestamp: "2026-07-11T09:22:08Z" status: Succeeded - completedTimestamp: "2026-07-11T09:23:32Z" name: Next Version startedTimestamp: "2026-07-11T09:23:10Z" status: Succeeded - completedTimestamp: "2026-07-11T09:23:35Z" name: Jx Variables startedTimestamp: "2026-07-11T09:23:32Z" status: Succeeded - completedTimestamp: "2026-07-11T09:26:26Z" name: Build Npm Install startedTimestamp: "2026-07-11T09:23:35Z" status: Succeeded - completedTimestamp: "2026-07-11T09:30:20Z" name: Build Assets startedTimestamp: "2026-07-11T09:26:27Z" status: Succeeded - completedTimestamp: "2026-07-11T09:30:23Z" name: Check Registry startedTimestamp: "2026-07-11T09:30:21Z" status: Succeeded - completedTimestamp: "2026-07-11T09:32:59Z" name: Build Container Build startedTimestamp: "2026-07-11T09:30:23Z" status: Succeeded - completedTimestamp: "2026-07-11T09:33:19Z" name: Promote Changelog startedTimestamp: "2026-07-11T09:33:00Z" status: Succeeded - completedTimestamp: "2026-07-11T09:33:22Z" name: Promote Helm Release startedTimestamp: "2026-07-11T09:33:20Z" status: Succeeded - completedTimestamp: "2026-07-11T09:34:23Z" name: Promote Jx Promote startedTimestamp: "2026-07-11T09:33:23Z" status: Succeeded - completedTimestamp: "2026-07-11T09:35:07Z" name: Publish Org Kb startedTimestamp: "2026-07-11T09:34:24Z" status: Succeeded - kind: Promote promote: environment: staging pullRequest: pullRequestURL: https://github.com/greencapitaltrade/mcu/pull/4709 startedTimestamp: "2026-07-11T09:33:58Z" status: Succeeded startedTimestamp: "2026-07-11T09:33:58Z" status: Succeeded - kind: Promote promote: environment: production pullRequest: pullRequestURL: https://github.com/greencapitaltrade/mcu/pull/4710 startedTimestamp: "2026-07-11T09:34:20Z" status: Succeeded startedTimestamp: "2026-07-11T09:34:20Z" status: Succeeded version: 1.3.0 status: {}