承接 jobcloud/php-console-kafka-schema-registry 相关项目开发

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

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

jobcloud/php-console-kafka-schema-registry

Composer 安装命令:

composer require jobcloud/php-console-kafka-schema-registry

包简介

Console commands for the Kafka schema registry

README 文档

README

Installation

composer require jobcloud/php-console-kafka-schema-registry

Requirements

  • php: ^8.4

Register commands

You can register each command separately like this:

<?php

use Symfony\Component\Console\Application;
use Jobcloud\SchemaConsole\Command\ListAllSchemasCommand;
use Jobcloud\SchemaConsole\SchemaRegistryApi;
use GuzzleHttp\Client;

$client = new Client(
    [
        'base_uri' => 'url-to-your-schema-api',
        //'auth' => ['schema-username', 'schema-password']
    ]
);
$schemaRegistryApi = new SchemaRegistryApi($client);

$console = new Application();
$console->add(new ListAllSchemasCommand($schemaRegistryApi));

or you can also register them over the service provider:

<?php

use Jobcloud\SchemaConsole\ServiceProvider\CommandServiceProvider;
use Pimple\Container;

$container = new Container();
$container->register(new CommandServiceProvider());

Note: To use the service provider you need to set the following in your container:

  • either kafka.schema.registry.client which is the guzzle client or alternatively kafka.schema.registry.url
  • if you need to use basic authentication you need to set kafka.schema.registry.username and kafka.schema.registry.password

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 16
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-09-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固