Coder Social home page Coder Social logo

akvo-flow-maps's People

Contributors

dlebrero avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

akvo-flow-maps's Issues

Monitoring

Make sure that the consumer is consuming and that it doesn't lag behind

Support MultiTenant

  • Create a new DB when the first message for a tenant is received
  • Create a new user/pass and store it in the master db
  • Auth proxy to read the credentials from the master db

Secure the map creation

Only Flow should be able to create new maps.

Secure the create map endpoint by doing some Authz on the Windshaft proxy, maybe by using Keycloak service accounts.

Windshaft tiles endpoint should still be available to external clients. Probably we will need some Nginx proxy to disallow any POST request to Windshaft

Check the log retention of the consumer offset topic

I think the default log retention for the Kafka consumer topic offset topic is one day, which means that if our consumer goes down for more than 24 hours, it will start from the beginning.

Change the retention to one week, so we have more time to detect and fix any possible issue

Add some resilience to consumer

Right now any exception will crash the consumer thread.

Either make the process more resilient to excepted exceptions (like DB timeouts) or make sure that the process crashes and except K8s to restart the process.

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.