Whilst working on T376657: Unable to find ingested tables in datahub we initiated a job to rebuild the DataHub metadata indices from the contents of the MariaDB database as per: https://datahubproject.io/docs/how/restore-indices/
Although the job was successful (after modifying one mis-named entity) the search indices are empty at the end of the process.
What seems to be happening is that the MAE events published by the job are never reaching the kafka-jumbo cluster.
We can subscribe to the MetadataAuditEvent_v4 topic like this:
btullis@stat1008:~$ kafkacat -C -b kafka-jumbo1010.eqiad.wmnet:9092 -t MetadataAuditEvent_v4 -o 0 % Reached end of topic MetadataAuditEvent_v4 [3] at offset 80794 % Reached end of topic MetadataAuditEvent_v4 [1] at offset 81132 % Reached end of topic MetadataAuditEvent_v4 [4] at offset 84162 % Reached end of topic MetadataAuditEvent_v4 [0] at offset 71331 % Reached end of topic MetadataAuditEvent_v4 [2] at offset 80985
...but it remains empty.
Similarly, the MetadataChangeEvent_v4 topic remains empty.
btullis@stat1008:~$ kafkacat -C -b kafka-jumbo1010.eqiad.wmnet:9092 -t MetadataChangeEvent_v4 -o 0 % Reached end of topic MetadataChangeEvent_v4 [0] at offset 0 % Reached end of topic MetadataChangeEvent_v4 [3] at offset 0 % Reached end of topic MetadataChangeEvent_v4 [4] at offset 0 % Reached end of topic MetadataChangeEvent_v4 [2] at offset 0 % Reached end of topic MetadataChangeEvent_v4 [1] at offset 11110


