Hi Mesut, there is no supported way to do this with a customer assertion unfortunately.
Original Message:
Sent: Mar 28, 2023 11:12 AM
From: Mesut Yalcin
Subject: Kafka traffic with JSON messages
Hello @Patrick Flachhello @Ben Urbanski
I'm thinking about how to achieve that with a custom assertion;
when the custom assertion registered a kafka consumer could be initiated and when a message received a predefined service could be triggered.
Which means creating a custom assertion that can appear in the Tasks menu and be able to trigger a service.
------------------------------
Regards,
Mesut Yalcin - Senior Solution Engineer
APIIDA AG - https://www.apiida.com
Original Message:
Sent: Mar 24, 2023 05:29 AM
From: Patrick Flach
Subject: Kafka traffic with JSON messages
Hello Ben, this is good news! Do you have any, very rough version information or release date already? Year and quarter would be great.
Best,
Patrick
Original Message:
Sent: Mar 08, 2023 04:00 PM
From: Ben Urbanski
Subject: Kafka traffic with JSON messages
Hello Patrick,
Kafka consumer support (where the API Gateway can connect to Kafka and consume messages) is currently highly prioritized on our API Gateway backlog. Once available, other policy assertions can be used to validate JSON and scan for viruses (via ICAP).
Regards,
------------------------------
Ben Urbanski
Product Manager, API Gateway
Layer7 API Management
Original Message:
Sent: Feb 22, 2023 03:46 AM
From: Patrick Flach
Subject: Kafka traffic with JSON messages
Hello community,
does anyone know if Layer 7 API Gateway can handle Kafka consumer to a Kafka message broker traffic and analyse the traffic if it has valid JSON data structure in it?
In addition, it would be great if all the message data could be sent to a virus scanner.
I did read the documentation, in my opinion it is not possible, but I would like to have some verification for my findings.
Any comments welcome.
Thanks!