Giter Club home page Giter Club logo

memphis-rest-gateway's Issues

"Producer Name" as Parameter in REST API

Hi Memphis.dev team,

Firstly, thank you for your hard work on the Debezium + Memphis tutorial and examples. I've been using it for Change Data Capture (CDC) and it's been immensely beneficial.

I've been perusing the REST API documentation, and I've run into a bit of an obstacle. Currently, I cannot find any documentation or references that specify how to pass the Producer name as a parameter. I'm hoping to use this function in my project, so clarification would be really valuable to me.

Could you kindly provide me with some guidance on this? Is it possible to pass the Producer name as a parameter, or perhaps it's a functionality that isn't currently supported or is not documented?

Thank you in advance for your time and support. I look forward to hearing from you soon.

Best regards,
Andrea

Feature Request: Support in Access keys as a second authentication method

Description

Currently (v1.2.0), the only supported authentication method is using JWT.
While it is a standard for most use cases, not all systems support refreshing tokens nor concat a JWT token as a header.
Therefore, a second authentication method should be available to support the rest of the use cases in the shape of Access keys.

This feature contains:

  • Adding support in access keys creation.
  • Adding key management ability to the Web Console in the Users section.
  • Add interpretation of access keys when interacting with the REST Gateway.

Support inclusion of account id in username field

Problem:
Memphis Cloud requires passing an account id along with the username and password. The account id field is not a standard field of authorization endpoints, however, and is not likely to be supported by all external services.

User Impact:
This recently caused pain for a user who was attempting to use Debezium with Memphis Cloud.

Suggested solutions:
There are several possible solutions that maintain backwards compatibility including:

  1. Combine the user and account id into a single string that is passed as the username. For example, "rj$122222" is passed as the username to the authorization endpoint.
  2. Include the account id in the URL. E.g., https://region.cloud.memphis.dev/122222/produce/topic or https://region.cloud.memphis.dev/produce/topic/122222

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.