You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Name filter factories consistently
We dropped the FilterFactory suffix from filters sometime ago. However, we didn't apply the naming convention
to MultiTenant or the Sample. This change applies the convention whilst maintaining support for the existing
name (deprecated).
Signed-off-by: Keith Wall <kwall@apache.org>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@ Format `<github issue/pr number>: <short description>`.
7
7
8
8
## SNAPSHOT
9
9
10
+
*[#1770](https://github.com/kroxylicious/kroxylicious/pull/1770) Name filter factories consistently
10
11
*[#1743](https://github.com/kroxylicious/kroxylicious/pull/1743) Apply TLS protocol and cipher suite restrictions to HTTP Clients used by KMS impls too
11
12
*[#1761](https://github.com/kroxylicious/kroxylicious/pull/1761) SNI exposition: user can control advertised broker port
12
13
*[#1766](https://github.com/kroxylicious/kroxylicious/issues/1766) Bump apicurio-registry.version from 2.6.6.Final to 2.6.7.Final
@@ -23,6 +24,14 @@ Format `<github issue/pr number>: <short description>`.
23
24
24
25
### Changes, deprecations and removals
25
26
27
+
* The factory for the Multitenancy filter is renamed from `MultiTenantTransformationFilterFactory` to `MultiTenant`. The
28
+
old factory name is deprecated.
29
+
* The factories for the Kroxylicious Sample filters are renamed from `SampleProduceRequestFilterFactory` to
30
+
`SampleProduceRequest` and `SampleFetchResponseFilterFactory` to `SampleFetchResponse` respectively. The old factory
31
+
names are now deprecated.
32
+
* The factories for the Kroxylicious Transform filters (used by the performance tests) are renamed from
33
+
`ProduceRequestTransformationFilterFactory` to `ProduceRequestTransformation` and `FetchResponseTransformationFilterFactory`
34
+
* to `FetchResponseTransformation` respectively. The old factory names are now deprecated.
26
35
* The top level `filters` configuration property is deprecated. Configurations should use `filterDefinitions` and `defaultFilters` instead.
27
36
* The `bootstrap_servers` property of a virtual cluster's `targetCluster` is deprecated. It is replaced by a property called `bootstrapServers`.
28
37
* As per deprecation notice made at 0.7.0, `ProduceValidationFilterFactory` filter is removed. Use `RecordValidation` instead.
Copy file name to clipboardExpand all lines: docs/modules/con-custom-filters.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -464,14 +464,14 @@ file containing the classnames of each filter factory implementation into the JA
464
464
465
465
For example in the kroxylicious-samples we have the {github}/blob/main/kroxylicious-sample/src/main/java/io/kroxylicious/sample/config/SampleFilterConfig.java[SampleFilterConfig] class.
466
466
This is used in the {github}/blob/main/kroxylicious-sample/src/main/java/io/kroxylicious/sample/SampleFetchResponseFilter.java[SampleFetchResponseFilter]). The configuration is routed to the Filter instance via the
Copy file name to clipboardExpand all lines: kroxylicious-filters/kroxylicious-multitenant/src/main/java/io/kroxylicious/proxy/filter/multitenant/MultiTenantFilter.java
+4-5Lines changed: 4 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -112,7 +112,7 @@
112
112
* <br/>
113
113
* TODO disallow the use of topic uids belonging to one tenant by another.
Copy file name to clipboardExpand all lines: kroxylicious-filters/kroxylicious-multitenant/src/main/java/io/kroxylicious/proxy/filter/multitenant/MultiTenantTransformationFilterFactory.java
Copy file name to clipboardExpand all lines: kroxylicious-filters/kroxylicious-multitenant/src/test/java/io/kroxylicious/proxy/filter/multitenant/MultiTenantFilterTest.java
Copy file name to clipboardExpand all lines: kroxylicious-filters/kroxylicious-multitenant/src/test/java/io/kroxylicious/proxy/filter/multitenant/MultiTenantTest.java
0 commit comments