承接 siberfx/apache-kafka 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

siberfx/apache-kafka

最新稳定版本:0.0.2

Composer 安装命令:

composer require siberfx/apache-kafka

包简介

Apache Kafka Service Helper

README 文档

README

Required before starting

You should have account for deployment in Google Cloud (https://cloud.google.com) create new project and select from marketplace "apache kafka@ on confluent cloud" and set up for your requirements.

  • from Confluent.cloud you should have CLI installation for your server where you will use the kafka
curl -L --http1.1 https://cnfl.io/ccloud-cli | sh -s -- -b /usr/local/bin 

img_1.png img_2.png

and at least if you prefer to run under docker, be sure that you have the kafka extension installed and enabled so an example image below; img_1.png

after you follow all the steps and ready to use the package, follow the steps below;

Installation

You can install the package via composer:

composer require siberfx/apache-kafka

Usage

// config/kafka-config.php file content, you can modify it by your own settings.
return [
    'queue_name' => 'kafka',

    'bootstrap_servers' => env('BOOTSTRAP_SERVER', ''),
    'security_protocol' => env('SECURITY_PROTOCOL', ''),
    'sasl_mechanisms' => env('SASL_MECHANISM', ''),
    'sasl_username' => env('SASL_USERNAME', ''),
    'group_id' => env('GROUP_ID', ''),

];

Publish files

php artisan vendor:publish --provider="Siberfx\ApacheKafka\KafkaServiceProvider"

required Kafka Queue Service changes on your app

You can override in which table are located your "lat, lng" fields and even the model you want to create the fields with the help of config/kafka-config.php file and table_name field if its set already


### Security

If you discover any security related issues, please email info@siberfx.com instead of using the issue tracker.

## Credits

- [Selim Gormus](https://github.com/siberfx)

统计信息

  • 总下载量: 3
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-10-20