Skip to content

io microsphere multiple active zone spring aws EcsContainerMetadataFileZoneLocator

github-actions[bot] edited this page Jun 20, 2026 · 5 revisions

EcsContainerMetadataFileZoneLocator

Type: Class | Module: microsphere-multiactive-aws | Package: io.microsphere.multiple.active.zone.spring.aws | Since: 1.0.0

Source: microsphere-multiactive-aws/src/main/java/io/microsphere/multiple/active/zone/spring/aws/EcsContainerMetadataFileZoneLocator.java

Overview

The ZoneLocator based on Amazon ECS container metadata file.

Beginning with version 1.15.0 of the Amazon ECS container agent, various container metadata is available within your containers or the host container instance.

Declaration

public class EcsContainerMetadataFileZoneLocator extends AbstractZoneLocator

Author: Mercy

Version Information

  • Introduced in: 1.0.0
  • Current Project Version: 0.2.7-SNAPSHOT

Version Compatibility

This component is tested and compatible with the following Java versions:

Java Version Status
Java 17 ✅ Compatible
Java 21 ✅ Compatible
Java 25 ✅ Compatible

Usage

Maven Dependency

Add the following dependency to your pom.xml:

<dependency>
    <groupId>io.github.microsphere-projects</groupId>
    <artifactId>microsphere-multiactive-aws</artifactId>
    <version>${microsphere-multiactive.version}</version>
</dependency>

Tip: Use the BOM (microsphere-multiactive-dependencies) for consistent version management. See the Getting Started guide.

Import

import io.microsphere.multiple.active.zone.spring.aws.EcsContainerMetadataFileZoneLocator;

API Reference

Public Methods

Method Description
supports
locate

See Also

  • ZoneLocator
  • EcsTaskMetadataEndpointV4ZoneLocator

This documentation was auto-generated from the source code of microsphere-multiactive.

Clone this wiki locally