定制 gurento/kafka-consumer-filament 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

gurento/kafka-consumer-filament

最新稳定版本:v1.0.1

Composer 安装命令:

composer require gurento/kafka-consumer-filament

包简介

Filament UI package for gurento/kafka-consumer.

README 文档

README

gurento/kafka-consumer-filament is the Filament admin UI companion for gurento/kafka-consumer.

It provides a ready Kafka operations interface for:

  • managing topic configurations
  • viewing consume logs
  • running re-consume actions from UI

Compatible with Filament v4 and v5.

Installation

composer require gurento/kafka-consumer gurento/kafka-consumer-filament

Register Plugin

In your Filament panel provider:

use Gurento\KafkaConsumerFilament\Filament\Plugins\KafkaConsumerPlugin;

return $panel
    ->plugins([
        KafkaConsumerPlugin::make(),
    ]);

What It Registers

  • Kafka Topics resource
  • CRUD pages for topic mappings
  • Consume Logs relation manager
  • operations actions (for re-consume/health workflows depending on your setup)

Typical Workflow

  1. Open Kafka Topics in Filament.
  2. Create topic mapping:
    • topic name
    • target model class
    • upsert key
    • field mappings
  3. Run consumer command:
php artisan gurento:kafka-consume
  1. Monitor logs in the resource relation manager.
  2. Re-consume failed messages when needed.

Security and Access

This package only provides UI classes.

You should define policies/permissions in host app to restrict who can:

  • edit topic mappings
  • run replay actions
  • inspect payload/error logs

Troubleshooting

Resource not visible

  • Ensure plugin is added to the same panel you are using.
  • Run php artisan optimize:clear.

Class not found errors

  • Confirm both packages are installed.
  • Run composer dump-autoload.

License

MIT

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-04-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固