Azure / Azure-Data-Factory-Integration-Runtime-in-Windows-Container

Azure Data Factory Integration Runtime in Windows Container Sample
MIT License
25 stars 36 forks source link

Azure Data Factory Integration Runtime in Windows Container Sample

This repo contains the sample for running the Azure Data Factory Integration Runtime in Windows Container

Support SHIR version: 5.0 or later

For more information about Azure Data Factory, see https://docs.microsoft.com/en-us/azure/data-factory/concepts-integration-runtime

QuickStart

  1. Prepare Windows for containers
  2. Build the Windows container image in the project folder
    > docker build . -t <image-name> [--build-arg="INSTALL_JDK=true"]

    Arguments list

    Name Necessity Default Description
    INSTALL_JDK Optional false The flag to install Microsoft's JDK 11 LTS.
  3. Run the container with specific arguments by passing environment variables
    > docker run -d -e AUTH_KEY=<ir-authentication-key> \
    [-e NODE_NAME=<ir-node-name>] \
    [-e ENABLE_HA={true|false}] \
    [-e HA_PORT=<port>] \
    [-e ENABLE_AE={true|false}] \
    [-e AE_TIME=<expiration-time-in-seconds>] \
    <image-name>

    Arguments list

    Name Necessity Default Description
    AUTH_KEY Required The authentication key for the self-hosted integration runtime.
    NODE_NAME Optional hostname The specified name of the node.
    ENABLE_HA Optional false The flag to enable high availability and scalability.
    It supports up to 4 nodes registered to the same IR when HA is enabled, otherwise only 1 is allowed.
    HA_PORT Optional 8060 The port to set up a high availability cluster.
    ENABLE_AE Optional false The flag to enable offline nodes auto-expiration.
    If enabled, the node will be marked as expired when it has been offline for timeout duration defined by AE_TIME.
    AE_TIME Optional 600 The expiration timeout duration for offline nodes in seconds.
    Should be no less than 600 (10 minutes).

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.