Skip to main content
The Interceptors on this page have been removed from Gateway. They are no longer available in the versions listed below. If you are running an older version of Gateway, this page preserves the documentation that was previously available.
This page gathers documentation for Interceptors that have been removed from the Gateway codebase. Each section notes the Gateway version in which the Interceptor was removed. If you’re looking for current Interceptors, see the Interceptor list.

Migrate to a topic view

A topic view replaces SQL topics and CEL topics. Mind these differences:
  • Topic views support only the documented SQL subset. Gateway rejects anything else when you create the view.
  • To read Avro, Protobuf or JSON-Schema records, the view uses a schema registry external connection instead of an inline schemaRegistryConfig, and has to use SELECT *.
  • The view requires an onError setting, for records it can’t decode.
  • Consumers have to include the view’s name in their group.id, delimited by ::, for example legal_user::analytics.
Then delete the old Interceptor.

Delete a removed Interceptor

If you still have an Interceptor that uses a removed plugin, Gateway skips it on startup. An Interceptor can have several scopes (virtual cluster, group and username), and each delete removes one scope, so delete every scope. First, list the Interceptors that use a removed plugin, with their scopes, by filtering on plugin class. For example, for the SQL topic and CEL topic plugins:
Each result is a name and a scope to delete. After an upgrade, the error Gateway logs on startup gives the same details, for example:
Then delete each name and scope, sending the scope exactly as listed:
For a global Interceptor, send {"vCluster": null, "group": null, "username": null}. Without a body, Gateway deletes the passthrough scope.
If the scope doesn’t match, Gateway returns 404 with Interceptor <name> not found with scope {...}, naming the scope it looked for. In Console, the Gateway Interceptors list only shows and deletes Interceptors scoped to the virtual cluster configured for that Gateway, with no group or username. Use the API or the CLI for the others.

JSONata transformer - produce (ProduceJsonataPlugin)

Removed in Gateway v3.19.0. Deprecated since Gateway v3.16.0.
Full plugin name: io.conduktor.gateway.interceptor.ProduceJsonataPlugin Transformed message data on produce using JSONata expressions. Applied JSONata transformations to records before they were written to Kafka.

Configuration

Configuration properties

JSONata transformer - fetch (FetchJsonataPlugin)

Removed in Gateway v3.19.0. Deprecated since Gateway v3.16.0.
Full plugin name: io.conduktor.gateway.interceptor.FetchJsonataPlugin Transformed message data on fetch/consume using JSONata expressions. Applied JSONata transformations to records as consumers read them through Gateway.

Configuration

Configuration properties

Encrypt on consume (FetchEncryptPlugin)

Removed in Gateway v3.19.0. Deprecated since Gateway v3.16.0.
Full plugin name: io.conduktor.gateway.interceptor.FetchEncryptPlugin Encrypted specific record fields or the entire payload during fetch/consume operations. Data stored in Kafka remained unencrypted — encryption was applied only when consumers read through Gateway. The configuration properties were the same as the list-based EncryptPlugin. Recommended alternative: Use data masking policies or EncryptPlugin (on produce) instead.

List-based encryption on consume

List-based encryption on consume with secured template

Encrypt on consume - schema based (FetchEncryptSchemaBasedPlugin)

Removed in Gateway v3.19.0. Deprecated since Gateway v3.16.0.
Full plugin name: io.conduktor.gateway.interceptor.FetchEncryptSchemaBasedPlugin Encrypted fields tagged in a specified schema during fetch/consume operations. Data stored in Kafka remained unencrypted — encryption was applied only when consumers read through Gateway. The configuration properties were the same as the schema-based EncryptSchemaBasedPlugin. Recommended alternative: Use data masking policies or EncryptSchemaBasedPlugin (on produce) instead.

Schema-based encryption on consume

Large batch handling (LargeBatchHandlingPlugin)

Removed in Gateway v3.21.0. Deprecated since Gateway v3.18.0.
Full plugin name: io.conduktor.gateway.interceptor.LargeBatchHandlingPlugin Saved each record batch above the minimumSizeInBytes threshold as a single file in cloud storage (Amazon S3 or Azure Blob Storage), replacing the batch payload in Kafka with a reference and reassembling it transparently on consume. Recommended alternative: Use large message handling instead — it offloads individual messages above the size threshold.

Configuration

Each batch that’s above the minimumSizeInBytes threshold will be saved in one file on Amazon S3, with credentials defaulting to managed identity:
With basic credentials:
With session credentials:

SQL topics (VirtualSqlTopicPlugin)

Removed in Gateway v3.23.0. Deprecated since Gateway v3.19.0.
SQL topics are incompatible with incremental fetch sessions, and return incorrect results if you enable that feature. Topic views don’t have this limitation.
Full plugin name: io.conduktor.gateway.interceptor.VirtualSqlTopicPlugin Recommended alternative: a topic view. See migrate to a topic view. Exposed a virtual topic that filtered and projected the records of an existing topic, using a SQL statement such as:
SQL topics applied to FetchResponse only, so the virtual topic was read-only: SELECT [list of fields] FROM [topic name] WHERE [field filter criteria]
Topic names with dash - characters have to be double quoted, as the dash is not a valid character for a SQL name. For example, if you have a topic our-orders, use SELECT * FROM "our-orders" WHERE ...
Other limitations:
  • With filter records based on more than one condition, only AND operator is supported
  • Supported predicates: =, >, >=, <, <=, <> and REGEXP (RegExp MySQL Operator)
  • Case expression is supported
  • Filtered by:
    • Record key (It supports SR):
      • Record key as string: - .. WHERE record.key = 'some thing'
      • Record key as schema: .. WHERE record.key.someValue.someChildValue = 'some thing'
    • Record value (It supports SR): .. WHERE $.someValue.someChildValue = 'some thing'
    • Partition: .. WHERE record.partition = 1
    • Timestamp: .. WHERE record.timestamp = 98717823712
    • Header: .. WHERE record.header.someHeaderKey = 'some thing'
    • Offset: .. WHERE record.offset = 1

Schemas and projections

If your data uses a schema, then it’s not possible to make use of the projection feature here because the resulting data will no longer match the original schema. For plain JSON topics, you can use the SELECT clause to alter the shape of the data returned; however, for schema’d data (Avro and Protobuf) you must not use a projection, i.e. the select should be in the form: SELECT * FROM ... Filtering with the where clause is still supported.

Configuration

Example

Schema registry with secured template

Schema registry configuration

SQL topics and CEL topics took this schemaRegistryConfig object.
Schema-encoded records whose schema ID is stored in a record header, the format introduced in Confluent Platform 8.2, require Gateway 3.21.0 or later.
Gateway supports Confluent-like and AWS Glue schema registries. If you don’t supply a basicCredentials section for the AWS Glue schema registry, the client will attempt to find the connection information it needs from the environment (see AWS docs for details ) and the credentials required can be passed this way to Gateway as part of its core configuration.

Migrate to a topic view

Create a topic view with the same SQL statement. The view’s name replaces the virtualTopic setting. See migrate to a topic view for how topic views differ and how to delete the old Interceptor.

Filter topics with CEL (CelTopicPlugin)

Removed in Gateway v3.23.0. Deprecated since Gateway v3.17.0.
CEL topics are incompatible with incremental fetch sessions, and return incorrect results if you enable that feature. Topic views don’t have this limitation.
Full plugin name: io.conduktor.gateway.interceptor.CelTopicPlugin Recommended alternative: a topic view with an SQL WHERE clause. See migrate to a topic view. Exposed a virtual topic that filtered the records of an existing topic with a CEL (Common Expression Language) expression. Expressions could filter by:
  • Record key (It supports SR):
    • Record key as string: - .. record.key == 'some thing'
    • Record key as schema: .. record.key.someValue.someChildValue == 'some thing'
  • Record value (It supports SR): .. record.value.someValue.someChildValue == 'some thing'
  • Partition: .. record.partition == 1
  • Timestamp: .. record.timestamp == 98717823712
  • Header: .. record.header.someHeaderKey == 'some thing'
  • Offset: .. record.offset == 1

Configuration

Example

Schema registry with secured template

Migrate to a topic view

Create a topic view with an SQL WHERE clause that matches the CEL expression. For example, record.value.age > 18 becomes SELECT * FROM users WHERE age > 18. The view’s name replaces the virtualTopic setting. See migrate to a topic view for how topic views differ and how to delete the old Interceptor.