python 中给文件加锁——fcntl模块import fcntl打开一个文件##当前目录下test文件要先存在,如果不存在会报错。或者以写的方式打开f =... Read More | Share it now!
Author Archives: Huang Shiyang
Cannot connect to kafka from remote machine
Worked with from server.properties Uncomment And Replace <HOST IP> with actual IP. ... Read More | Share it now!
Java读写avro例子
https://www.cnblogs.com/fillPv/p/5009737.html avro是一个数据序列化框架,可以高效得进行序列化和反序列化,支持C, C++, C#, Java, PHP, Python,... Read More | Share it now!
Avro与JAVA
https://shift-alt-ctrl.iteye.com/blog/2217425 ... Read More | Share it now!
sublime中分号替换成换行
commd + option +f findwhat中输入 ; 在Rplace With 中输入 commd+ shift+enter 点击replaceall ... Read More | Share it now!
How to create schema containing list of objects using Avro?
You need to use array type for creating the list. Following is the updated schema that handles your usecase. { "name": "Parent", "type":"record", "fields": } } } ] } ... Read More | Share it now!
Mysql 高可用(HA)
1、Mysql... Read More | Share it now!
Apache NiFi – Records and Schema Registries
https://bryanbende.com/development/2017/06/20/apache-nifi-records-and-schema-registries Apache NiFi 1.2.0 and 1.3.0 have introduced a series of powerful new features around record processing. There have already been a couple of great blog posts... Read More | Share it now!
Python Script in NiFi
Short Description: A brief introduction to using Python inside NiFi to manipulate FlowFiles in stream using python. Article In NiFi the data being passed between operators is referred to as a FlowFile and can be accessed via various scripting... Read More | Share it now!