kafka-php | kafka php client | Pub Sub library

 by   weiboad PHP Version: v0.2.0.8 License: Apache-2.0

kandi X-RAY | kafka-php Summary

kandi X-RAY | kafka-php Summary

kafka-php is a PHP library typically used in Messaging, Pub Sub, Kafka applications. kafka-php has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

[GitHub license] Kafka-php is a pure PHP kafka client that currently supports greater than 0.8.x version of Kafka, this project v0.2.x and v0.1.x are incompatible if using the original v0.1.x You can refer to the document [Kafka PHP v0.1.x Document] but it is recommended to switch to v0.2.x . v0.2.x use PHP asynchronous implementation and kafka broker interaction, more stable than v0.1.x efficient, because the use of PHP language so do not compile any expansion can be used to reduce the access and maintenance costs.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              kafka-php has a medium active ecosystem.
              It has 1441 star(s) with 445 fork(s). There are 82 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 106 open issues and 104 have been closed. On average issues are closed in 92 days. There are 14 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of kafka-php is v0.2.0.8

            kandi-Quality Quality

              kafka-php has 0 bugs and 0 code smells.

            kandi-Security Security

              kafka-php has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              kafka-php code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              kafka-php is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              kafka-php releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.
              kafka-php saves you 1948 person hours of effort in developing the same functionality from scratch.
              It has 4289 lines of code, 272 functions and 36 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed kafka-php and discovered the below as its top functions. This is intended to give you an instant insight into kafka-php implemented functionality, and help decide if they suit your requirements.
            • Get API version
            • Decodes a message .
            • Writes data to the socket
            • Commit all changes
            • Send a record set
            • Parse a member .
            • Assign all members from the result set .
            • Get connect socket
            • Success callback .
            • Encode a message .
            Get all kandi verified functions for this library.

            kafka-php Key Features

            No Key Features are available at this moment for kafka-php.

            kafka-php Examples and Code Snippets

            No Code Snippets are available at this moment for kafka-php.

            Community Discussions

            QUESTION

            How can I create topic with kafka-php programming library?
            Asked 2022-Mar-16 at 09:28

            I want create a topic with kafka-php programming library.

            https://github.com/weiboad/kafka-php

            How can I do?

            If topic doesn't exist in kafka server, executing this code, it doesn't work. It doesn't insert 10 messages "test1....message." because topic isn't create.

            ...

            ANSWER

            Answered 2022-Mar-16 at 09:28

            I don't think there is support for this in the available PHP libraries.

            The functionality is implemented in the Admin API in the Java client library for Kafka which will enable you to create a topic. I found this github issue against another PHP Kafka client regarding implementing the Admin API but it has not been done.

            Source https://stackoverflow.com/questions/71494155

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install kafka-php

            Add the lib directory to the PHP include_path and use an autoloader like the one in the examples directory (the code follows the PEAR/Zend one-class-per-file convention).
            Simply add a dependency nmred/kafka-php to your project if you use Composer to manage the dependencies of your project.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/weiboad/kafka-php.git

          • CLI

            gh repo clone weiboad/kafka-php

          • sshUrl

            git@github.com:weiboad/kafka-php.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Pub Sub Libraries

            EventBus

            by greenrobot

            kafka

            by apache

            celery

            by celery

            rocketmq

            by apache

            pulsar

            by apache

            Try Top Libraries by weiboad

            fiery

            by weiboadJava

            adbase

            by weiboadC++

            fierysdk

            by weiboadPHP

            aidp

            by weiboadC++

            aidt

            by weiboadC++