flaconi/enqueue-rdkafka-serializer-bundle
Symfony bundle integrating the Enqueue RDKafka serializer, simplifying configuration of Kafka message serialization in Symfony apps via service wiring and bundle config.
enqueue/enqueue-bundle and enqueue/rdkafka, so you need a working Enqueue setup (transports, clients, ext-rdkafka) before it does anything useful. Confirm that base wiring before adding serializer config.composer require flaconi/enqueue-rdkafka-serializer-bundle, then add the bundle to config/bundles.php if it is not auto-registered in your Symfony version. Earlier 1.x/2.x releases predate modern Flex auto-registration, so verify registration manually.^2.4) and check its Symfony/PHP constraints against your runtime, because the package has a small maintainer surface and sparse external usage.src/DependencyInjection/Configuration.php and the extension class to see the config tree. For the new feature, inspect the Avro serializer wiring: selecting AvroSerializer now auto-configures AvroRecordSerializer. The README and tests/ remain the main documentation.AvroRecordSerializer setup behaves as expected.serializer to the service the bundle exposes, and keep producer and consumer config in the same file so drift is visible in review.AvroSerializer automatically sets up AvroRecordSerializer. Use this for Avro topics where records need schema-aware encoding/decoding, and keep the schema registry/client configuration explicit in your transport config.JsonSerializer, message objects need to be cleanly JSON-encodable and reconstructible on the consumer. For Avro, model messages against the Avro record schema rather than passing loose arrays; validate records before publishing.services.yaml for custom normalization (dates, enums, money objects). Register a custom serializer as a service and reference it from transport config. For Avro, prefer the bundle's automatic AvroRecordSerializer setup unless you need a custom record serializer.AvroRecordSerializer automatically when you select AvroSerializer. If your app already defines a custom AvroRecordSerializer service, check service precedence and decoration order; otherwise your custom serializer may be replaced or duplicated. Use bin/console debug:container to confirm which service is active.bin/console debug:container and bin/console debug:config (or config:dump-reference) to see what registered.enqueue/rdkafka versions and write your own integration tests.version field or use tolerant readers so format changes don't break in-flight consumers.AvroRecordSerializer if schema handling needs customization. Prefer decorating Enqueue/bundle services over patching the bundle so changes survive composer update.enqueue/rdkafka transport config (setting serializer per transport) may still cover your need without this bundle. The bundle is most useful when you need per-transport serializers or want the 2.4.0 Avro auto-setup without hand-wiring the record serializer.How can I help you explore Laravel packages today?