Veitor
Veitor
same problem. i print `readyState` is 0 and `error` is undefined in `ErrorEvent`.
坐等春节更新了。。最近也在琢磨这方面
I also use Aliyun kafka and the error occurred is "Fatal error: Uncaught Kafka\Exception: Could not read 352518912 bytes from stream, length too longer. in D:\workspace\test\kafka\vendor\nmred\kafka-php\src\Kafka\SocketSync.php:292" Does it means the...
@mgckid 我当时也在想,为啥我什么认证机制都没配置,另外我是刚开始接触kafka,正巧阿里云最近在公测所以想试试,好像阿里云官方之前提供过php客户端demo但现在又没了。。比较蛋疼,kafka的php客户端实现貌似比其他语言繁琐啊
兄弟,你研究的怎么样了。。我已经搞了很久了。。阿里官方demo中都是用的第三方库啊,直接传传配置进去的。。要按照他们那样搞我还得去研究库。。不知道他们怎么想的。。。 我本地用docker搭建了个kafka,通过该代码运行producer似乎是成功的样子的  通过consumer返回的结果也与之前不一样了。。不过看不懂。貌似没取出消息来?   我很好奇这个php库是不是只能用于常规搭建的kafka,而用不了阿里云的?
add this in your Dockerfile: ```Dockerfile VOLUME [ “/sys/fs/cgroup” ] ``` or add volume like this when run image: ```docker docker run -v /sys/fs/cgroup your_image ```
maxUnavaible中`当maxSurge不为0时,该值也不能为0`这句话有误吧?应该是当maxUnavaible和maxSurge不能同时为0吧。
`CA 证书应提供给 admission webhook 配置,这样 apiserver 才可以信任 webhook server 提供的 TLS 证书。因为我们上面已经使用 Kubernetes API 签署了证书,所以我们可以使用我们的 kubeconfig 中的 CA 证书来简化操作。` 这句话有点看不懂,假设拿平常的浏览器-服务器来看待的话,apiServer作为客户端,apiServer通过TLS请求webhook server,那么apiServer应该会得到webhook server返回的CA证书是吧?所以apiServer需要有一个CA根证书(浏览器操作系统都是预先内置的CA根证书,所以不需要我们去配置)去验证得到的这个证书的真实性和有效性,所以这里的`CA_BUNDLE`就类似于CA根证书是吗?为了验证webhook server证书的有效性的? 而我们kubeconfig中的CA证书其实也是k8s API签署的,所以同样可以作为apiserver请求webhook server时的CA根证书是这个意思吗?
总结很到位。。这rule规则看得我头都晕了
same +1 if inner component has API call when it is created, that is too bad. this Fix should be merged