This repository was archived by the owner on Sep 18, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +53
-1
lines changed
Expand file tree Collapse file tree 5 files changed +53
-1
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ type: application
2525# This is the chart version. This version number should be incremented each time you make changes
2626# to the chart and its templates, including the app version.
2727# Versions are expected to follow Semantic Versioning (https://semver.org/)
28- version : 1.1.6
28+ version : 1.1.7
2929
3030# This is the version number of the application being deployed. This version number should be
3131# incremented each time you make changes to the application. Versions are not expected to
Original file line number Diff line number Diff line change 99 <?xml version="1.0"?>
1010 <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
1111 <configuration>
12+ {{ if .Values.listener.enabled }}
13+ <property>
14+ <name>hive.metastore.event.listeners</name>
15+ <value>{{ .Values.listener.className }}</value>
16+ </property>
17+ {{ end }}
1218 <property>
1319 <name>javax.jdo.option.ConnectionURL</name>
1420 <value>jdbc:postgresql://{{ .Values.postgresql.fullnameOverride }}:5432/{{ .Values.global.postgresql.postgresqlDatabase}}</value>
Original file line number Diff line number Diff line change 3737 - name : thrift
3838 containerPort : 9083
3939 protocol : TCP
40+ {{ if .Values.listener.enabled }}
41+ env :
42+ - name : KAFKA_BROKER_URL
43+ value : {{ .Values.listener.kafka-broker-url }}
44+ - name : KAFKA_TOPIC_NAME
45+ value : {{ .Values.listener.kafka-topic-name }}
46+ - name : DOMAIN_NAMESPACE
47+ value : {{ .Values.listener.domain-namespace }}
48+ {{ end }}
4049 readinessProbe :
4150 tcpSocket :
4251 port : 9083
Original file line number Diff line number Diff line change 8686 }
8787 }
8888 },
89+ "listener" : {
90+ "description" : " Configuration of hive meta store listener" ,
91+ "type" : " object" ,
92+ "properties" : {
93+ "enabled" : {
94+ "description" : " enable hive metastore listener" ,
95+ "type" : " boolean" ,
96+ "default" : false
97+ },
98+ "kafka-broker-url" : {
99+ "description" : " kafka broker url for pushing your hive metastore event" ,
100+ "type" : " string" ,
101+ "default" : " change.me"
102+
103+ },
104+ "kafka-topic-name" : {
105+ "description" : " kafka topic name for pushing your hive metastore event" ,
106+ "type" : " string" ,
107+ "default" : " changeMe"
108+ },
109+ "domain-namespace" : {
110+ "description" : " domain name where your hive metastore is located inside your organization" ,
111+ "type" : " string" ,
112+ "x-form" : {
113+ "value" : " {{project.id}}"
114+ },
115+ "default" : " changeMe"
116+ }
117+ }
118+ },
89119 "global" : {
90120 "description" : " postgres specific configuration" ,
91121 "type" : " object" ,
Original file line number Diff line number Diff line change @@ -47,6 +47,13 @@ postgresql:
4747 tag : " 12"
4848 fullnameOverride : " hive-metastore-db"
4949
50+ listener :
51+ enabled : true
52+ class-name : org.pengfei.hive.listener.CustomHiveListener
53+ kafka-broker-url : kafka-0.kafka-headless:9092
54+ kafka-topic-name : hive-meta
55+ domain-namespace : user-pengfei
56+
5057readiness :
5158 enabled : " true"
5259
You can’t perform that action at this time.
0 commit comments