NitroCao

Results 19 comments of NitroCao

I found another way to solve this problem without modifying source code of Kafka-python. ``` python def run(self) -> Iterator[Event]: self._consumer = KafkaConsumer( self._kafka_topic, bootstrap_servers=self._kafka_server, value_deserializer=self.data_deserializer, consumer_timeout_ms=16000) while not self._stop_receiver:...

BTW, is it necessary to check if the open files exist or not? I checked source code of gopsutil, `OpenFiles()` won't check the existence of files. https://github.com/shirou/gopsutil/blob/3b417071a5835600ae0d654231cfb9ce226f2b6b/v3/process/process_linux.go#L608-L648

Hi all. Do we have any progress on this feature?

我从一开始就用的 4k 显示器,HDMI 和 DP 都可以。前两天 Big Sur 发布之后升级到了 Big Sur,然后根据 OC 的文档改了一个 BIOS 设置之后开机不会出现无信号的情况了。但是有时会出现从睡眠中自动唤醒的情况,而且这时候大概率会出现无信号的情况。无线网卡一直都用的是博通的免驱网卡。我觉得有可能是 USB mapping 的问题,因为我还没搞过这方面的配置

Optimize long lines. ``` opa dropped_capabilities[affected] { ctrs := containers[_] affected = {"image": ctrs.image, "caps_dropped": {cap | cap := ctrs.securityContext.capabilities.drop[_]; count(cap) > 0}} } ``` => ``` dropped_capabilities[affected] { ctrs...

I also encountered this problem. The version of `kafka-go` is `0.4.17`, the version of kafka is `2.13-2.8.0`. I triggered the problem when writing plenty of data. My kafka doesn't config...

I want to deploy scope under the subpath of ingress like that: ``` yaml apiVersion: networking.k8s.io/v1beta1 kind: Ingress metadata: namespace: weave name: scope-ingress annotations: nginx.ingress.kubernetes.io/rewrite-target: / spec: tls: - hosts:...

@CodeAholic When I deploy scope with default official deployment and create a nginx ingress like I said above, then I opened the web page with `myhost.com/scope`, I got error message...

@CodeAholic the output of `kubectl -n weave get services`: ``` NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE weave-scope-app ClusterIP 10.101.208.117 80/TCP 3h41m ``` the outout of `kubectl -n weave describe service...