A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://arnaud-lb.github.io/php-rdkafka-doc/phpdoc/rdkafka-producer.inittransactions.html below:

Initialize transactions

RdKafka\Producer::initTransactions

(PECL rdkafka >= 4.1.0, librdkafka >= 1.4.0)

RdKafka\Producer::initTransactionsInitialize transactions

Description

public RdKafka\Producer::initTransactions ( integer $timeout_ms ) : void

Initialize transactions for the producer instance. This function ensures any transactions initiated by previous instances of the producer with the same transactional.id are completed. If the previous instance failed with a transaction in progress the previous transaction will be aborted. This function needs to be called before any other transactional or produce functions are called when the transactional.id is configured.

Parameters
timeout_ms (integer)

Specifies the amount of time (in milliseconds) that the call will try to initialize transaction capability.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4