Page MenuHomePhabricator

Expose mediawiki.page_html_feature_counts_change.v1 in public EventStreams API
Open, Needs TriagePublic

Description

The mediawiki.page_html_feature_counts_change.v1 stream contains very valuable data about what has changed in an edit to a wikipedia page.

We should expose this stream publicly via the EventStreams API so it is viewable and consumable outside of WMF production.

To to this, we need to

  • produce the stream to Kafka main cluster
  • modify EventStreams config to allowlist this stream.

This data is just as small as other page_change based streams on Kafka main, so there should be no worry about producing data there.

Explicit steps:

  • Make the flink app produce to kafka main-eqiad cluster, edit here, deploy changes.
  • Add to EventStreams allowed_streams. Edit here, deploy changes.

Deploying the flink app with these changes will stop writing to kafka jumbo and start writing to kafka main. eqiad.* prefixed topics are all automatically mirrored to Kafka jumbo, so MirrorMaker will start producing these messages to the same existing topic in Kafka jumbo. Ingestion in to Hive will continue to work with no changes.

So! I think this is a very simple config change!

Done is

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change #1319116 had a related patch set uploaded (by Ottomata; author: Ottomata):

[operations/deployment-charts@master] mw-page-html-feature-counts-change-enrich: produce to kafka main-eqiad

https://gerrit.wikimedia.org/r/1319116

Change #1319117 had a related patch set uploaded (by Ottomata; author: Ottomata):

[operations/deployment-charts@master] eventstreams: expose page_html_feature_counts_change.v1

https://gerrit.wikimedia.org/r/1319117

Change #1319116 merged by jenkins-bot:

[operations/deployment-charts@master] mw-page-html-feature-counts-change-enrich: produce to kafka main-eqiad

https://gerrit.wikimedia.org/r/1319116

Change #1319117 merged by jenkins-bot:

[operations/deployment-charts@master] eventstreams: expose page_html_feature_counts_change.v1

https://gerrit.wikimedia.org/r/1319117

Change #1320938 had a related patch set uploaded (by Ottomata; author: Ottomata):

[operations/deployment-charts@master] eventstreams - fetch all stream configs

https://gerrit.wikimedia.org/r/1320938

Change #1320941 had a related patch set uploaded (by Ottomata; author: Ottomata):

[operations/mediawiki-config@master] EventStreamConfig - page_html_feature_counts_change.v1 canary to eventgate-main

https://gerrit.wikimedia.org/r/1320941

Change #1320938 merged by jenkins-bot:

[operations/deployment-charts@master] eventstreams - fetch all stream configs

https://gerrit.wikimedia.org/r/1320938

Change #1320941 merged by jenkins-bot:

[operations/mediawiki-config@master] EventStreamConfig - page_html_feature_counts_change.v1 canary to eventgate-main

https://gerrit.wikimedia.org/r/1320941

Mentioned in SAL (#wikimedia-operations) [2026-08-04T14:26:15Z] <otto@deploy1003> Started scap sync-world: Backport for [[gerrit:1320941|EventStreamConfig - page_html_feature_counts_change.v1 canary to eventgate-main (T433507)]]

Mentioned in SAL (#wikimedia-operations) [2026-08-04T14:28:13Z] <otto@deploy1003> otto: Backport for [[gerrit:1320941|EventStreamConfig - page_html_feature_counts_change.v1 canary to eventgate-main (T433507)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2026-08-04T14:34:54Z] <otto@deploy1003> Finished scap sync-world: Backport for [[gerrit:1320941|EventStreamConfig - page_html_feature_counts_change.v1 canary to eventgate-main (T433507)]] (duration: 08m 39s)

Mentioned in SAL (#wikimedia-operations) [2026-08-04T14:37:17Z] <ottomata> roll restart eventgate-main to pick up stream config change - T433507