上一页 1 2 3 4 5 6 7 8 9 ··· 20 下一页
摘要: 1. 导入以来 <dependency> <groupId>org.apache.kafka</groupId> <artifectId>kafka-clients</artifactId> <version>0.11.0.0</version> </dependency> 阅读全文
posted @ 2020-07-15 23:43 阿布都日 阅读(153) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-07-15 23:36 阿布都日 阅读(89) 评论(0) 推荐(0)
摘要: 1. Producer事务保证即使producer挂了又重新启动了,kafka内部消息的精准性 2. Cunsmer事务保证精准一次消费 阅读全文
posted @ 2020-07-15 23:28 阿布都日 阅读(174) 评论(0) 推荐(0)
摘要: 1. 修改配置文件comsumer.properties excluse.internal.topics=false //0.11.0.0之前的版本 2. kafkaf-console-consomer.sh --topic __consumer_offsets --zookeeper host:2 阅读全文
posted @ 2020-07-15 22:32 阿布都日 阅读(201) 评论(0) 推荐(0)
摘要: nohup command > nohup.out 2>&1 & 阅读全文
posted @ 2020-07-15 19:45 阿布都日 阅读(269) 评论(0) 推荐(0)
摘要: <dependency> <groupId>com.sparkjava</groupId> <artifactId>spark-core</artifactId> <version>2.9.0</version> </dependency> package com.example; import o 阅读全文
posted @ 2020-07-14 11:40 阿布都日 阅读(1955) 评论(0) 推荐(0)
摘要: 配置 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi 阅读全文
posted @ 2020-07-12 23:11 阿布都日 阅读(539) 评论(0) 推荐(0)
摘要: Class<Person> c = Person.class; Person p = c.newInstanace(); Method m = c.getMethod("setAge",Integer.class); m.invoke(p,33); 阅读全文
posted @ 2020-07-12 23:06 阿布都日 阅读(83) 评论(0) 推荐(0)
摘要: 配置 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi 阅读全文
posted @ 2020-07-12 22:52 阿布都日 阅读(211) 评论(0) 推荐(0)
摘要: POM <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xs 阅读全文
posted @ 2020-07-12 22:10 阿布都日 阅读(167) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 20 下一页