ytake / php-ksql

Apache Kafka / Confluent KSQL REST Client for PHP
MIT License
18 stars 2 forks source link

Class KsqlMapper not compatible with kserver 5.0.1 #2

Closed tkaven closed 5 years ago

tkaven commented 5 years ago

/opt/remi/php72/root/usr/bin/php artisan k-server:init-k-sql http://10.2.132.159:8088

Istyle\KsqlClient\Exception\UnknownJsonObjectsException : Unknown json objects.

at /mount/report-center/vendor/istyle-inc/php-ksql/src/Mapper/KsqlMapper.php:137 133| } 134| 135| return new KafkaTopics($row['kafka_topics']['statementText'], $topics); 136| } > 137| throw new UnknownJsonObjectsException('Unknown json objects.'); 138| } 139| } 140|

Exception trace:

1 Istyle\KsqlClient\Mapper\KsqlMapper::detectEntity(["sourceDescription", "DESCRIBE VS_HGAME_USERDIFFPOINTS_N1_STREAM__CLEAR;"]) /mount/report-center/vendor/istyle-inc/php-ksql/src/Mapper/KsqlMapper.php:48

2 Istyle\KsqlClient\Mapper\KsqlMapper::result() /mount/report-center/app/Console/Commands/KServer/InitKSql.php:83

Please use the argument -v to see more details.

ytake commented 5 years ago

@tkaven released v1.0.0 please use v1.0.0