09 2022 档案

摘要:import copya = ['hello',[1,2,3],'nihao']a1 = a.copy() #浅拷贝也能通过copy模块的copy.copy(a)实现 print(a1)a[1][0] = 0print(a1)b = ['hello',[1,2,3],'nihao']b1 = cop 阅读全文
posted @ 2022-09-14 22:10 聚散浮沉 阅读(13) 评论(0) 推荐(0) 编辑
摘要:list = [i for i in range(10)]print(list)list1 = [(x,y) for x in range(2,5) for y in range(3,6)]print(list1)list2 = [ i for i in range(1,10) if i % 2] 阅读全文
posted @ 2022-09-14 21:30 聚散浮沉 阅读(31) 评论(0) 推荐(0) 编辑
摘要:[root@master bin]# ./kafka-topics.sh --bootstrap-server 192.168.1.101:9092 --describe --topic testTopic: test TopicId: fTJwpLYfQXqsP0Xv_q5tHg Partitio 阅读全文
posted @ 2022-09-09 21:45 聚散浮沉 阅读(1052) 评论(0) 推荐(0) 编辑
摘要:当前版本 kafka_2.13-3.2.1 [root@node2 bin]# ./kafka-topics.sh -create --zookeeper 192.168.1.100:2181,192.168.1.101:2181,192.168.1.102:2181 -replication-fa 阅读全文
posted @ 2022-09-09 21:40 聚散浮沉 阅读(251) 评论(0) 推荐(0) 编辑
摘要:192.168.1.100 192.168.1.101 192.168.1.102 一。zookeeper(zookeeper.properties) # Licensed to the Apache Software Foundation (ASF) under one or more# cont 阅读全文
posted @ 2022-09-09 21:26 聚散浮沉 阅读(1292) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示