Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka, mail # dev - [jira] [Commented] (KAFKA-419) Updated PHP client library to support kafka 0.7+


Copy link to this message
-
[jira] [Commented] (KAFKA-419) Updated PHP client library to support kafka 0.7+
"Colin B. 2013-04-04, 19:34

    [ https://issues.apache.org/jira/browse/KAFKA-419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13622695#comment-13622695 ]

Colin B. commented on KAFKA-419:
--------------------------------

Old bug. Client libraries, such as this PHP library, are no longer being maintained in the main project.

Please close. Won't Fix.
                
> Updated PHP client library to support kafka 0.7+
> ------------------------------------------------
>
>                 Key: KAFKA-419
>                 URL: https://issues.apache.org/jira/browse/KAFKA-419
>             Project: Kafka
>          Issue Type: Improvement
>          Components: clients
>    Affects Versions: 0.7, 0.8
>         Environment: N/A
>            Reporter: Lorenzo Alberton
>              Labels: php, phpunit
>         Attachments: phpclient.new.patch, phpclient.patch
>
>
> I updated the PHP client library to fully work with the kafka code in trunk, with the following improvements:
> - added support for GZIP compression (both in the producer and the consumer);
> - implemented stream-based iteration of messages (rather than loading the entire response in memory);
> - added base Kafka_Exception class (extending RuntimeException) and some child classes to catch specific errors;
> - added validation and error checking in several parts of the code (like CRC validation of messages, stream connection/EOF checks, response code verification);
> - added example producer for compressed messages.
> The code is fully tested (vast improvements to the existing test suite are provided with the patch), and already incorporates a proper fix for KAFKA-319  (which can be rejected).
> The API hasn't changed and is 100% backwards compatible.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira