• Tanyan

    跟烦的人打交道的时候,就想着赶紧把他的事处理掉拉倒,反而让对方占便宜了,操,这是一个矛盾。

  • Respect

    人的相处,我觉得最重要是尊重。 不过每个人对尊重的理解不一样吧,不强求。礼尚往来吧。

  • Update Kafka Cert

    在重启 ZK 之前先更新 broker 里面的证书并 reload export c="" && for i in {0..9} ; do k exec -ti $c-shaxy-b-kafka-$i -npro-kafka -- sh -c 'export CERTS_STORE_PASSWORD=$(grep listener.name.replication-9091.ssl.keystore.password /tmp/strimzi.properties | cut -f2...

  • Kafka Unclean Leader Election

    刚刚发现一个现象,正常吗? 如果一个Topic是下面这样的,它不会 unclean leader elect 选出来0 做leader,需要再次触发一下 unclean.leader.election.enable=true,哪怕这个 topic 已经是 true { "PartitionErrorCode": 72, "PartitionID": 43, "Leader": -1, "LeaderEpoch": 21, "Replicas": [ 0, 3 ], "Isr": [ 3 ], "OfflineReplicas":...

  • Zookeeper Reconfig

    语法: server.<positive id> = <address1>:<port1>:<port2>[:role];[<client port address>:]<client port> https://zookeeper.apache.org/doc/r3.5.2-alpha/zookeeperReconfig.html The client port specification is to the right of the semicolon. The client port address is optional, and if not specified...

  • 蠢就是坏

    如果你没有办法区分两个东西,那他们对你来说就是同一件事,比如:蠢就是坏。

  • 冷空气

    这几天的实践证明,冷空气里面跑步会导致喉咙轻微的不舒服。

  • Avro Schema Registry Auth

    cat schema-registry.properties authority.header=schema-registry-admin curl -H 'authority.header:schema-registry.properties' -XDELETE

  • Sort By Multi Fields

    sort -hk4,2 -k1,1

  • Sort Case Sensitive

    LC_COLLATE=C sort This variable governs the collation rules used for sorting and regular expressions. Setting the value to C can for example make the ls command sort dotfiles first, followed...