idealo/php-rdkafka-ffi

View on GitHub
resources/phpunit/config.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

define('LIBRDKAFKA_LIBRARY_PATH', getenv('LIBRDKAFKA_LIBRARY_PATH') ?: null);
define('KAFKA_BROKERS', getenv('KAFKA_BROKERS') ?: 'kafka:9092');
const KAFKA_TEST_TOPIC = "test";
const KAFKA_TEST_TOPIC_ADMIN = "test_admin";
const KAFKA_TEST_TOPIC_PARTITIONS = "test_partitions";
const KAFKA_TEST_TIMEOUT_MS = 20000;
const KAFKA_BROKER_ID = 111;