Git Product home page Git Product logo

aws-lambda-clickhouse-config-in-zookeeper's Introduction

aws-lambda-clickhouse-config-in-zookeeper

Brought to you by Telemetry Team

Zookeeper obtains the configuration for certain Clickhouse configuration files via a lambda which injects the 'remote-servers' config into Zookeeper.

Please check the telemetry-terraform repository for details on how this Lambda is deployed.

Requirements

Quick start

# Install correct version of Python
pyenv install $(cat .python-version)

# Optional set up environment variables
export POETRY_VIRTUALENVS_IN_PROJECT=true
export PYTHONPATH=/home/james/hmrcDev/aws-lambda-clickhouse-config-in-zookeeper
export MDTP_ENVIRONMENT=integration

# Run tests:
make test

# Package the lambda locally:
make package

Environment variables

The following environment variables are processed by the lambda handler and can therefore be set in Terraform to override the defaults provided:

  • lambda_name (default: "clickhouse-config-in-zookeeper")
  • log_level (default: "INFO")

License

This code is open source software licensed under the Apache 2.0 License.

References

Runbook - Clickhouse

aws-lambda-clickhouse-config-in-zookeeper's People

Contributors

crumplepang avatar dependabot[bot] avatar hmrc-web-operations avatar jameshall1999 avatar leiperjack avatar mdinos avatar rhyss avatar sjpalf avatar thinkstack avatar timothyfothergill avatar tomasz-rosiek avatar vitorbrandao avatar webit4me avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

uk-gov-mirror

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.