增加追加EOF标志位的线程数配置
This commit is contained in:
parent
52e19c5e29
commit
d089c475c9
|
|
@ -50,7 +50,7 @@ public class Config {
|
|||
public static long SWITCH_FILE_WAIT_TIME = 5000L;
|
||||
|
||||
// 追加EOF标志位的线程数量
|
||||
public static final int MAX_APPEND_EOF_FLAGS_THREAD_NUMBER = 11;
|
||||
public static final int MAX_APPEND_EOF_FLAGS_THREAD_NUMBER = 2;
|
||||
}
|
||||
|
||||
public static class RegisterPersistence {
|
||||
|
|
|
|||
|
|
@ -10,9 +10,9 @@ buffer.max_wait_time=5000
|
|||
#数据冲突时等待时间(单位:毫秒)
|
||||
buffer.data_conflict_wait_time=10
|
||||
#数据缓存文件目录
|
||||
buffer.data_buffer_file_parent_directory=D:/test-data/data/buffer
|
||||
buffer.data_buffer_file_parent_directory=./../data/buffer
|
||||
#缓存数据文件最大长度(单位:byte)
|
||||
buffer.data_file_max_length=10240
|
||||
buffer.data_file_max_length=104857600
|
||||
#每次Flush的缓存数据的个数
|
||||
buffer.flush_number_of_cache=30
|
||||
|
||||
|
|
@ -24,9 +24,11 @@ persistence.offset_file_skip_length=2048
|
|||
persistence.offset_file_read_buffer_size=2048
|
||||
#处理文件完成之后,等待时间(单位:毫秒)
|
||||
persistence.switch_file_wait_time=5000
|
||||
#追加EOF标志位的线程数量
|
||||
persistence.max_append_eof_flags_thread_number=2
|
||||
|
||||
#偏移量注册文件的目录
|
||||
registerpersistence.register_file_parent_directory=D:/test-data/data/offset
|
||||
registerpersistence.register_file_parent_directory=./../data/offset
|
||||
#偏移量注册文件名
|
||||
registerpersistence.register_file_name=offset.txt
|
||||
#偏移量注册备份文件名
|
||||
|
|
|
|||
Loading…
Reference in New Issue