DirectorySecurity AdvisoriesPricing
Sign inTry Starter for free
Directory
datahub-mce-consumer logo

datahub-mce-consumer

packaged by Chainguard

Last changed
Start with 5 free container images

Catalog Starter gives your team 5 production-grade container images, free forever, with no contract or sales call. Sign up with your work email.

Try Starter for free
Chainguard HarnessHack your app with frontier AI

Chainguard Harness uses frontier models from Anthropic, OpenAI, and Google to attack a copy of your app built on datahub-mce-consumer. It finds exploitable, validated issues that SAST and DAST tools aren't built to find.

Tags
Overview
Comparison
Provenance
Specifications
SBOM
Vulnerabilities
Advisories

Chainguard Container for datahub-mce-consumer

DataHub MCE Consumer applies Metadata Change Events and Proposals from Kafka to the DataHub metadata graph.

Chainguard Containers are regularly-updated, secure-by-default container images.

Download this Container Image

For those with access, this container image is available on cgr.dev:

docker pull cgr.dev/ORGANIZATION/datahub-mce-consumer:latest

Be sure to replace the ORGANIZATION placeholder with the name used for your organization's private repository within the Chainguard Registry.

Compatibility Notes

The Chainguard datahub-mce-consumer image is comparable to the upstream acryldata/datahub-mce-consumer image. It keeps the upstream start script, default command, datahub user (UID/GID 100), ports, and file layout under /datahub/datahub-mce-consumer. Application dependencies, including Hazelcast's shaded Jackson libraries, are rebuilt or updated for security fixes.

As upstream, the image does not set ENTITY_REGISTRY_CONFIG_PATH or MCE_CONSUMER_ENABLED; the DataHub Helm chart and upstream's Docker Compose environment provide them. When running the container yourself, set ENTITY_REGISTRY_CONFIG_PATH=/datahub/datahub-mce-consumer/resources/entity-registry.yml and MCE_CONSUMER_ENABLED=true, or the consumer either fails to start or starts without any Kafka listeners.

Application files are root-owned. The consumer runs as datahub (UID 100) and writes logs under /tmp, which must stay writable.

The image does not include upstream's /tmp/kafka.client.truststore.jks. For Kafka TLS, use SPRING_KAFKA_PROPERTIES_SSL_TRUSTSTORE_LOCATION=/etc/ssl/certs/java/cacerts, SPRING_KAFKA_PROPERTIES_SSL_TRUSTSTORE_TYPE=JKS and SPRING_KAFKA_PROPERTIES_SSL_TRUSTSTORE_PASSWORD=changeit. Mount a custom truststore if your broker uses a private CA.

Prerequisites

The MCE consumer is one part of a DataHub deployment. It needs an initialized DataHub installation with MySQL (or MariaDB), Kafka, and OpenSearch, and a GMS of the same DataHub release to serve the schema registry. Follow the upstream Kubernetes deployment guide for infrastructure and schema initialization.

The example assumes an initialized Helm release named datahub in namespace datahub, its complete deployment configuration in values.yaml, Helm, and kubectl. Configure Kubernetes authentication to the Chainguard Registry and retain any required pull secrets in your values.yaml.

Getting Started

The DataHub chart deploys the MCE consumer as its own workload when standalone consumers are enabled; GMS then stops processing Metadata Change Proposals itself. Add the chart repository and replace the version placeholders with your installed chart version and matching DataHub release (without the v prefix):

helm repo add datahub https://helm.datahubproject.io
helm repo update datahub
CHART_VERSION=x.y.z
DATAHUB_VERSION=x.y.z

Replace ORGANIZATION with your Chainguard organization and confirm the matching tag is available. The chart overrides the pod user to 1000 by default, so set it back to the image's UID/GID 100:

cat > mce-values.yaml <<EOF
global:
  datahub_standalone_consumers_enabled: true
datahub-mce-consumer:
  image:
    registry: cgr.dev
    repository: ORGANIZATION/datahub-mce-consumer
    tag: "${DATAHUB_VERSION}"
  podSecurityContext:
    fsGroup: 100
  securityContext:
    runAsUser: 100
    runAsGroup: 100
EOF

helm upgrade datahub datahub/datahub \
  --namespace datahub \
  --version "${CHART_VERSION}" \
  --values values.yaml \
  --values mce-values.yaml \
  --wait --timeout 15m

Enabling standalone consumers also deploys the MAE consumer; configure its image in the same way if you use one from your registry.

Confirm the consumer is ready:

kubectl --namespace datahub rollout status deployment/datahub-datahub-mce-consumer --timeout=300s
kubectl --namespace datahub exec deployment/datahub-datahub-mce-consumer -- \
  curl -fsS http://localhost:4319/actuator/health

Configuration

A common first step after deployment is to scrape the consumer's metrics, so you can watch Kafka consumer lag and JVM health alongside GMS. Set ENABLE_PROMETHEUS=true and start.sh attaches the bundled Prometheus JMX exporter, which serves metrics on port 4318; the Spring management server on port 4319 also serves /actuator/prometheus. The DataHub chart does this by default through global.datahub.monitoring.enablePrometheus, and exposes both ports on the consumer's Service as jmx and prometheus. To read the exporter's metrics:

kubectl --namespace datahub exec deployment/datahub-datahub-mce-consumer -- \
  curl -fsS http://localhost:4318/metrics

The consumer reads the same Kafka, database, and search settings as the rest of DataHub. See the DataHub environment variable reference for the full list.

Documentation and Resources

What are Chainguard Containers?

Chainguard's free tier of Starter container images are built with Wolfi, our minimal Linux undistro.

All other Chainguard Containers are built with Chainguard OS, Chainguard's minimal Linux operating system designed to produce container images that meet the requirements of a more secure software supply chain.

The main features of Chainguard Containers include:

For cases where you need container images with shells and package managers to build or debug, most Chainguard Containers come paired with a development, or -dev, variant.

In all other cases, including Chainguard Containers tagged as :latest or with a specific version number, the container images include only an open-source application and its runtime dependencies. These minimal container images typically do not contain a shell or package manager.

Although the -dev container image variants have similar security features as their more minimal versions, they include additional software that is typically not necessary in production environments. We recommend using multi-stage builds to copy artifacts from the -dev variant into a more minimal production image.

Need additional packages?

To improve security, Chainguard Containers include only essential dependencies. Need more packages? Chainguard customers can use Custom Assembly to add packages, either through the Console, chainctl, or API.

To use Custom Assembly in the Chainguard Console: navigate to the image you'd like to customize in your Organization's list of images, and click on the Customize image button at the top of the page.

Learn More

Refer to our Chainguard Containers documentation on Chainguard Academy. Chainguard also offers VMs and Libraries — contact us for access.

Trademarks

This software listing is packaged by Chainguard. The trademarks set forth in this offering are owned by their respective companies, and use of them does not imply any affiliation, sponsorship, or endorsement by such companies.

Licenses

Chainguard's container images contain software packages that are direct or transitive dependencies. The following licenses were found in the "latest" tag of this image:

  • Apache-2.0

  • BSD-2-Clause

  • BSD-3-Clause

  • Bitstream-Vera

  • CDDL-1.0

  • Classpath-exception-2.0

  • EPL-1.0

For a complete list of licenses, please refer to this Image's SBOM.

Software license agreement

Compliance

Chainguard Containers are SLSA Level 3 compliant with detailed metadata and documentation about how it was built. We generate build provenance and a Software Bill of Materials (SBOM) for each release, with complete visibility into the software supply chain.

SLSA compliance at Chainguard

This image helps reduce time and effort in establishing PCI DSS 4.0 compliance with low-to-no CVEs.

PCI DSS at Chainguard

A FIPS validated version of this image is available for FedRAMP compliance. STIG is included with FIPS image.


Related images
datahub-mce-consumer-fips logoFIPS

datahub-mce-consumer-fips


Category
Application

The trusted source for open source

Talk to an expert
PrivacyTerms

Product

Chainguard ContainersChainguard LibrariesChainguard VMsChainguard OS PackagesChainguard ActionsChainguard Agent SkillsIntegrationsPricing
© 2026 Chainguard, Inc. All Rights Reserved.
Chainguard® and the Chainguard logo are registered trademarks of Chainguard, Inc. in the United States and/or other countries.
The other respective trademarks mentioned on this page are owned by the respective companies and use of them does not imply any affiliation or endorsement.