功能参数
Kafka consumer 功能是默关闭的,
如果需要使用kafka consumer 实时同步OLTP
的数据则需要开启和设置如下参数:
gcluster_kafka_consumer_enable=1
gcluster_lock_level=10
_gbase_transaction_disable=1
gbase_tx_log_mode=NO_USE,ONLY_SPECIFY_USE,NO_STANDARD_TRANS
GBase 8a MPP Cluster 最佳实践
4 参数调优
文档版本(2022-02-11)
南大通用数据技术股份有限公司
45
同时也需要在gnode 上配置同样的_gbase_transaction_disable 、
gbase_tx_log_mode 参数取值。
在未设置这些参数的情况下执行start kafka consumer consumer_name 启动命
令,报错信息如下:
ERROR 1707 (HY000): gcluster command error: param gcluster_lock_level
must be 10.
ERROR 1707 (HY000): gcluster command error: param gcluster_lock_level
must be 10.
ERROR 1707 (HY000): gcluster command error: gnode parameter "_gbase_tr
ansaction_disable" must be 1.
ERROR 1707 (HY000): gcluster command error: gnode parameter "gbase_tx_
log_mode" must be NO_USE,ONLY_SPECIFY_USE,NO_STANDARD_TRANS.