<?php

/**
 * Bootstrap for kafkalib.
 *
 * PHP VERSION: this variant requires PHP 8.1+ (it uses typed properties,
 * `mixed`, `?type` and `void`). If your code runs on PHP 7.0–7.3, load
 * `php70/autoload.php` instead — it has the same classes rewritten to parse
 * on PHP 7.0+. On PHP 7.4/8.0 either works, but this one is preferred.
 * Don't load both in the same process — they define the same class names.
 *
 * The classes live in the global namespace, so just require this one file
 * and use KafkaConfig / Producer / Consumer directly.
 *
 * Usage:
 *     require_once __DIR__ . '/lib/php/include/kafkalib/autoload.php';
 *     $config = new KafkaConfig('127.0.0.1:9092');
 */
require_once __DIR__ . '/KafkaConfig.php';
require_once __DIR__ . '/Producer.php';
require_once __DIR__ . '/Consumer.php';
