Skip to content

[Question] Support for custom headers when integrating AutoMQ with Apache Polaris #2890

@namnt2307

Description

@namnt2307

Hi everyone
I’m deploying an AutoMQ cluster with table-topic enabled and using Apache Polaris as the REST Iceberg catalog.

According to the Polaris production configuration guide:

If a request contains the specified header, Polaris will use the realm specified in the header. If the realm is not in the list of allowed realms, Polaris will return a 404 Not Found response.

If a request does not contain the specified header, however, by default Polaris will use the first realm in the list as the default realm. In the above example, POLARIS is the default realm and would be used if the Polaris-Realm header is not present in the request.

I know i can set polaris.realm-context.require-header=false to get this work.

But is there currently a way for AutoMQ to set custom headers (such as Polaris-Realm) on catalog requests, or is this not supported yet?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions