MAE Consumer is a Kafka Streams job. Its main function is to listen
MetadataAuditEvent Kafka topic for messages and process those messages using index builders.
Index builders create search document model by processing MAE and then these documents are indexed into Elasticsearch.
So, this job is providing us a near-realtime search index update.
- You need to have JDK8
installed on your machine to be able to build
MAE Consumer Job is already built as part of top level build:
However, if you only want to build
MAE Consumer Job specifically:
Quickest way to try out
MAE Consumer Job is running the Docker image.
If you do modify things and want to try it out quickly without building the Docker image, you can also run the application directly from command line after a successful build:
Spring boot actuator has been enabled for MAE Application.
info web endpoints are enabled by default.
healthcheck - http://localhost:9091/actuator/health
metrics - http://localhost:9091/actuator/metrics
To retrieve a specific metric - http://localhost:9091/actuator/metrics/process.uptime