Hello, We've opened a PR proposing support for a custom Selector implementation in Kafka Producer and Consumer clients: https://github.com/apache/kafka/pull/19186
Our primary use case is enabling Kafka Clients to operate through a network proxy. At the moment, the internal Selector usage in Kafka clients makes this effectively impossible without forking the client. The PR introduces a way to plug in a custom Selector, allowing alternative networking behavior while preserving existing Kafka client semantics. The default behavior remains unchanged, and the proposal aims to be minimally invasive. We are currently maintaining a fork of Kafka Clients 3.9.1 (and soon 3.9.2) with this change applied, which is working well for our use case. However, we would strongly prefer to rely on an upstream solution rather than maintaining a long-lived fork. Best Regards, Dimitar SEEBURGER AG Vorstand/SEEBURGER Executive Board: Sitz der Gesellschaft/Registered Office: Axel Haas, Michael Kleeberg, Dr. Martin Kuntz Edisonstr. 1 D-75015 Bretten Vorsitzende des Aufsichtsrats/Chairperson of the SEEBURGER Supervisory Board: Tel.: 07252 / 96 - 0 Prof. Dr. Simone Zeuchner-Egli Fax: 07252 / 96 - 2222 Internet: http://www.seeburger.de Registergericht/Commercial Register: e-mail: [email protected] HRB 240708 Mannheim Hinweis: Diese Nachricht ist vertraulich und nur f?r den Empf?nger bestimmt. Wenn Sie sie irrt?mlich erhalten haben, informieren Sie bitte den Absender und l?schen Sie die Nachricht. Keine Haftung f?r Sch?den durch Viren oder Manipulationen - bitte pr?fen Sie Anh?nge vor dem ?ffnen. Informationen zur Verarbeitung personenbezogener Daten:Datenschutzhinweise f?r Gesch?ftspartner<https://www.seeburger.com/fileadmin/noIndex/legal/SEEBURGER_Datenschutzhinweise_Geschaeftspartner_DE.pdf> Notice: This message is confidential and intended only for the recipient. If received in error, please notify the sender and delete it. No liability for damages caused by viruses or manipulation - please scan attachments before opening. Information on personal data processing:Privacy Notice for Business Partners<https://www.seeburger.com/fileadmin/noIndex/legal/SEEBURGER_Privacy_Notice_Business_Partners_EN.pdf>
