Releases: arquivei/events-sender
v.3.3.1
Add new Kafka Producer config property
This adds a new possibility when setting up a Kafka exporter: specifying a value for the producer property message.max.bytes
. This will allow us to send larger messages to Kafka.
The value must be an integer representing the maximum size of the message in bytes. To specify a value, we just need to add a new key "message_max_bytes"
to the config array passed to the constructor of the class Arquivei\Events\Sender\Exporters\Kafka
.
Add support to PHP 8.2 with Monolog 3.0
Improve php dependencies support (#20) * Add PHP 8.2 support Co-authored-by: Fernando Marcelino <fernando.marcelino@arquivei.com.br>
Fix exporters tests namespaces
Changed exporters (Kafka, File and Kinesis) tests namespaces to follow PSR-4 standard.
Add kafka producer flush
A modification was made to Kafka exporter calling the flush after the message was produced.
The flush is required from rdkafka 4, not calling flush can lead to message loss.
Default value setted: 30s
PHP 8 Support
v3.2.0 Add PHP 8 Support (#16)
Add Pusher class
- Push events to a single exporter
- Throw exception if any error happens
Today our Sender() try to send an event to many exporters and it ignores
exception if happens.
Atualização das bibliotecas do composer
Merge pull request #13 from arquivei/improves/update-libs-version Atualização das bibliotecas no composer json
Melhories no composer json
Temos algumas libs no require mas que não usamos em todos os projetos.
As libs foram movidas para o suggest
Add PubSub exporter
Now we can use the PubSub exporter to send events to a topic of PubSub