PHP code example of adexos / m2-kafka-connector
1. Go to this page and download the library: Download adexos/m2-kafka-connector library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
adexos / m2-kafka-connector example snippets
xml
<type name="Adexos\KafkaConnector\Serializer\AvroSchemaRegistrySerializer">
<arguments>
<argument name="headerFilters" xsi:type="array">
<item name="your.magento.topic.name" xsi:type="object">
Namespace\Module\Serializer\HeaderFilter\YourCustomAvroHeaderFilter
</item>
</argument>
</arguments>
</type>