kafka-ui-api.yaml 89 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743
  1. openapi: 3.0.0
  2. info:
  3. description: Api Documentation
  4. version: 0.1.0
  5. title: Api Documentation
  6. termsOfService: urn:tos
  7. contact: { }
  8. license:
  9. name: Apache 2.0
  10. url: https://www.apache.org/licenses/LICENSE-2.0
  11. tags:
  12. - name: /api/clusters
  13. - name: /api/clusters/connects
  14. servers:
  15. - url: /localhost
  16. paths:
  17. /api/clusters:
  18. get:
  19. tags:
  20. - Clusters
  21. summary: getClusters
  22. operationId: getClusters
  23. responses:
  24. 200:
  25. description: OK
  26. content:
  27. application/json:
  28. schema:
  29. type: array
  30. items:
  31. $ref: '#/components/schemas/Cluster'
  32. /api/clusters/{clusterName}/cache:
  33. post:
  34. tags:
  35. - Clusters
  36. summary: updateClusterInfo
  37. operationId: updateClusterInfo
  38. parameters:
  39. - name: clusterName
  40. in: path
  41. required: true
  42. schema:
  43. type: string
  44. responses:
  45. 200:
  46. description: OK
  47. content:
  48. application/json:
  49. schema:
  50. $ref: '#/components/schemas/Cluster'
  51. 404:
  52. description: Not found
  53. /api/clusters/{clusterName}/brokers:
  54. get:
  55. tags:
  56. - Brokers
  57. summary: getBrokers
  58. operationId: getBrokers
  59. parameters:
  60. - name: clusterName
  61. in: path
  62. required: true
  63. schema:
  64. type: string
  65. responses:
  66. 200:
  67. description: OK
  68. content:
  69. application/json:
  70. schema:
  71. type: array
  72. items:
  73. $ref: '#/components/schemas/Broker'
  74. /api/clusters/{clusterName}/brokers/{id}/configs:
  75. get:
  76. tags:
  77. - Brokers
  78. summary: getBrokerConfig
  79. operationId: getBrokerConfig
  80. parameters:
  81. - name: clusterName
  82. in: path
  83. required: true
  84. schema:
  85. type: string
  86. - name: id
  87. in: path
  88. required: true
  89. schema:
  90. type: integer
  91. responses:
  92. 200:
  93. description: OK
  94. content:
  95. application/json:
  96. schema:
  97. type: array
  98. items:
  99. $ref: '#/components/schemas/BrokerConfig'
  100. 404:
  101. description: Not found
  102. /api/clusters/{clusterName}/brokers/{id}/configs/{name}:
  103. put:
  104. tags:
  105. - Brokers
  106. summary: updateBrokerConfigByName
  107. operationId: updateBrokerConfigByName
  108. parameters:
  109. - name: clusterName
  110. in: path
  111. required: true
  112. schema:
  113. type: string
  114. - name: id
  115. in: path
  116. required: true
  117. schema:
  118. type: integer
  119. - name: name
  120. in: path
  121. required: true
  122. schema:
  123. type: string
  124. requestBody:
  125. content:
  126. application/json:
  127. schema:
  128. $ref: '#/components/schemas/BrokerConfigItem'
  129. responses:
  130. 200:
  131. description: OK
  132. /api/clusters/{clusterName}/metrics:
  133. get:
  134. tags:
  135. - Clusters
  136. summary: getClusterMetrics
  137. operationId: getClusterMetrics
  138. parameters:
  139. - name: clusterName
  140. in: path
  141. required: true
  142. schema:
  143. type: string
  144. responses:
  145. 200:
  146. description: OK
  147. content:
  148. application/json:
  149. schema:
  150. $ref: '#/components/schemas/ClusterMetrics'
  151. /api/clusters/{clusterName}/stats:
  152. get:
  153. tags:
  154. - Clusters
  155. summary: getClusterStats
  156. operationId: getClusterStats
  157. parameters:
  158. - name: clusterName
  159. in: path
  160. required: true
  161. schema:
  162. type: string
  163. responses:
  164. 200:
  165. description: OK
  166. content:
  167. application/json:
  168. schema:
  169. $ref: '#/components/schemas/ClusterStats'
  170. /api/clusters/{clusterName}/brokers/{id}/metrics:
  171. get:
  172. tags:
  173. - Brokers
  174. summary: getBrokersMetrics
  175. operationId: getBrokersMetrics
  176. parameters:
  177. - name: clusterName
  178. in: path
  179. required: true
  180. schema:
  181. type: string
  182. - name: id
  183. in: path
  184. required: true
  185. schema:
  186. type: integer
  187. responses:
  188. 200:
  189. description: OK
  190. content:
  191. application/json:
  192. schema:
  193. $ref: '#/components/schemas/BrokerMetrics'
  194. /api/clusters/{clusterName}/brokers/logdirs:
  195. get:
  196. tags:
  197. - Brokers
  198. summary: getAllBrokersLogdirs
  199. operationId: getAllBrokersLogdirs
  200. parameters:
  201. - name: clusterName
  202. in: path
  203. required: true
  204. schema:
  205. type: string
  206. - name: broker
  207. in: query
  208. description: array of broker ids
  209. required: false
  210. schema:
  211. type: array
  212. items:
  213. type: integer
  214. responses:
  215. 200:
  216. description: OK
  217. content:
  218. application/json:
  219. schema:
  220. type: array
  221. items:
  222. $ref: '#/components/schemas/BrokersLogdirs'
  223. /api/clusters/{clusterName}/brokers/{id}/logdirs:
  224. patch:
  225. tags:
  226. - Brokers
  227. summary: updateBrokerTopicPartitionLogDir
  228. operationId: updateBrokerTopicPartitionLogDir
  229. parameters:
  230. - name: clusterName
  231. in: path
  232. required: true
  233. schema:
  234. type: string
  235. - name: id
  236. in: path
  237. required: true
  238. schema:
  239. type: integer
  240. requestBody:
  241. content:
  242. application/json:
  243. schema:
  244. $ref: '#/components/schemas/BrokerLogdirUpdate'
  245. responses:
  246. 200:
  247. description: OK
  248. /api/clusters/{clusterName}/topics:
  249. get:
  250. tags:
  251. - Topics
  252. summary: getTopics
  253. operationId: getTopics
  254. parameters:
  255. - name: clusterName
  256. in: path
  257. required: true
  258. schema:
  259. type: string
  260. - name: page
  261. in: query
  262. required: false
  263. schema:
  264. type: integer
  265. - name: perPage
  266. in: query
  267. required: false
  268. schema:
  269. type: integer
  270. - name: showInternal
  271. in: query
  272. required: false
  273. schema:
  274. type: boolean
  275. - name: search
  276. in: query
  277. required: false
  278. schema:
  279. type: string
  280. - name: orderBy
  281. in: query
  282. required: false
  283. schema:
  284. $ref: '#/components/schemas/TopicColumnsToSort'
  285. - name: sortOrder
  286. in: query
  287. required: false
  288. schema:
  289. $ref: '#/components/schemas/SortOrder'
  290. responses:
  291. 200:
  292. description: OK
  293. content:
  294. application/json:
  295. schema:
  296. $ref: '#/components/schemas/TopicsResponse'
  297. post:
  298. tags:
  299. - Topics
  300. summary: createTopic
  301. operationId: createTopic
  302. parameters:
  303. - name: clusterName
  304. in: path
  305. required: true
  306. schema:
  307. type: string
  308. requestBody:
  309. content:
  310. application/json:
  311. schema:
  312. $ref: '#/components/schemas/TopicCreation'
  313. responses:
  314. 201:
  315. description: Created
  316. content:
  317. application/json:
  318. schema:
  319. $ref: '#/components/schemas/Topic'
  320. /api/clusters/{clusterName}/topics/{topicName}/clone:
  321. post:
  322. tags:
  323. - Topics
  324. summary: cloneTopic
  325. operationId: cloneTopic
  326. parameters:
  327. - name: clusterName
  328. in: path
  329. required: true
  330. schema:
  331. type: string
  332. - name: topicName
  333. in: path
  334. required: true
  335. schema:
  336. type: string
  337. - name: newTopicName
  338. in: query
  339. required: true
  340. schema:
  341. type: string
  342. responses:
  343. 201:
  344. description: Created
  345. content:
  346. application/json:
  347. schema:
  348. $ref: '#/components/schemas/Topic'
  349. 404:
  350. description: Not found
  351. /api/clusters/{clusterName}/topics/{topicName}/analysis:
  352. get:
  353. tags:
  354. - Topics
  355. summary: getTopicAnalysis
  356. operationId: getTopicAnalysis
  357. parameters:
  358. - name: clusterName
  359. in: path
  360. required: true
  361. schema:
  362. type: string
  363. - name: topicName
  364. in: path
  365. required: true
  366. schema:
  367. type: string
  368. responses:
  369. 200:
  370. description: OK
  371. content:
  372. application/json:
  373. schema:
  374. $ref: '#/components/schemas/TopicAnalysis'
  375. 404:
  376. description: Not found
  377. post:
  378. tags:
  379. - Topics
  380. summary: analyzeTopic
  381. operationId: analyzeTopic
  382. parameters:
  383. - name: clusterName
  384. in: path
  385. required: true
  386. schema:
  387. type: string
  388. - name: topicName
  389. in: path
  390. required: true
  391. schema:
  392. type: string
  393. responses:
  394. 200:
  395. description: Analysis started
  396. 404:
  397. description: Not found
  398. delete:
  399. tags:
  400. - Topics
  401. summary: cancelTopicAnalysis
  402. operationId: cancelTopicAnalysis
  403. parameters:
  404. - name: clusterName
  405. in: path
  406. required: true
  407. schema:
  408. type: string
  409. - name: topicName
  410. in: path
  411. required: true
  412. schema:
  413. type: string
  414. responses:
  415. 200:
  416. description: Analysis cancelled
  417. 404:
  418. description: Not found
  419. /api/clusters/{clusterName}/topics/{topicName}:
  420. get:
  421. tags:
  422. - Topics
  423. summary: getTopicDetails
  424. operationId: getTopicDetails
  425. parameters:
  426. - name: clusterName
  427. in: path
  428. required: true
  429. schema:
  430. type: string
  431. - name: topicName
  432. in: path
  433. required: true
  434. schema:
  435. type: string
  436. responses:
  437. 200:
  438. description: OK
  439. content:
  440. application/json:
  441. schema:
  442. $ref: '#/components/schemas/TopicDetails'
  443. post:
  444. tags:
  445. - Topics
  446. summary: recreateTopic
  447. operationId: recreateTopic
  448. parameters:
  449. - name: clusterName
  450. in: path
  451. required: true
  452. schema:
  453. type: string
  454. - name: topicName
  455. in: path
  456. required: true
  457. schema:
  458. type: string
  459. responses:
  460. 201:
  461. description: Created
  462. content:
  463. application/json:
  464. schema:
  465. $ref: '#/components/schemas/Topic'
  466. 404:
  467. description: Not found
  468. 408:
  469. description: Topic recreation timeout
  470. patch:
  471. tags:
  472. - Topics
  473. summary: updateTopic
  474. operationId: updateTopic
  475. parameters:
  476. - name: clusterName
  477. in: path
  478. required: true
  479. schema:
  480. type: string
  481. - name: topicName
  482. in: path
  483. required: true
  484. schema:
  485. type: string
  486. requestBody:
  487. content:
  488. application/json:
  489. schema:
  490. $ref: '#/components/schemas/TopicUpdate'
  491. responses:
  492. 200:
  493. description: Updated
  494. content:
  495. application/json:
  496. schema:
  497. $ref: '#/components/schemas/Topic'
  498. delete:
  499. tags:
  500. - Topics
  501. summary: deleteTopic
  502. operationId: deleteTopic
  503. parameters:
  504. - name: clusterName
  505. in: path
  506. required: true
  507. schema:
  508. type: string
  509. - name: topicName
  510. in: path
  511. required: true
  512. schema:
  513. type: string
  514. responses:
  515. 200:
  516. description: OK
  517. 404:
  518. description: Not found
  519. /api/clusters/{clusterName}/topics/{topicName}/config:
  520. get:
  521. tags:
  522. - Topics
  523. summary: getTopicConfigs
  524. operationId: getTopicConfigs
  525. parameters:
  526. - name: clusterName
  527. in: path
  528. required: true
  529. schema:
  530. type: string
  531. - name: topicName
  532. in: path
  533. required: true
  534. schema:
  535. type: string
  536. responses:
  537. 200:
  538. description: OK
  539. content:
  540. application/json:
  541. schema:
  542. type: array
  543. items:
  544. $ref: '#/components/schemas/TopicConfig'
  545. /api/clusters/{clusterName}/topics/{topicName}/replications:
  546. patch:
  547. tags:
  548. - Topics
  549. summary: changeReplicationFactor
  550. operationId: changeReplicationFactor
  551. parameters:
  552. - name: clusterName
  553. in: path
  554. required: true
  555. schema:
  556. type: string
  557. - name: topicName
  558. in: path
  559. required: true
  560. schema:
  561. type: string
  562. requestBody:
  563. content:
  564. application/json:
  565. schema:
  566. $ref: '#/components/schemas/ReplicationFactorChange'
  567. responses:
  568. 200:
  569. description: OK
  570. content:
  571. application/json:
  572. schema:
  573. $ref: '#/components/schemas/ReplicationFactorChangeResponse'
  574. 404:
  575. description: Not found
  576. 400:
  577. description: Bad Request
  578. /api/clusters/{clusterName}/topic/{topicName}/serdes:
  579. get:
  580. tags:
  581. - Messages
  582. summary: getSerdes
  583. operationId: getSerdes
  584. parameters:
  585. - name: clusterName
  586. in: path
  587. required: true
  588. schema:
  589. type: string
  590. - name: topicName
  591. in: path
  592. required: true
  593. schema:
  594. type: string
  595. - name: use
  596. in: query
  597. required: true
  598. schema:
  599. $ref: '#/components/schemas/SerdeUsage'
  600. responses:
  601. 200:
  602. description: OK
  603. content:
  604. application/json:
  605. schema:
  606. $ref: '#/components/schemas/TopicSerdeSuggestion'
  607. /api/clusters/{clusterName}/topics/{topicName}/messages:
  608. get:
  609. tags:
  610. - Messages
  611. summary: getTopicMessages
  612. operationId: getTopicMessages
  613. parameters:
  614. - name: clusterName
  615. in: path
  616. required: true
  617. schema:
  618. type: string
  619. - name: topicName
  620. in: path
  621. required: true
  622. schema:
  623. type: string
  624. - name: seekType
  625. in: query
  626. schema:
  627. $ref: "#/components/schemas/SeekType"
  628. - name: seekTo
  629. in: query
  630. schema:
  631. type: array
  632. items:
  633. type: string
  634. description: The format is [partition]::[offset] for specifying offsets or [partition]::[timestamp in millis] for specifying timestamps
  635. - name: limit
  636. in: query
  637. schema:
  638. type: integer
  639. - name: q
  640. in: query
  641. schema:
  642. type: string
  643. - name: filterQueryType
  644. in: query
  645. schema:
  646. $ref: "#/components/schemas/MessageFilterType"
  647. - name: seekDirection
  648. in: query
  649. schema:
  650. $ref: "#/components/schemas/SeekDirection"
  651. - name: keySerde
  652. in: query
  653. description: "Serde that should be used for deserialization. Will be chosen automatically if not set."
  654. schema:
  655. type: string
  656. - name: valueSerde
  657. in: query
  658. description: "Serde that should be used for deserialization. Will be chosen automatically if not set."
  659. schema:
  660. type: string
  661. responses:
  662. 200:
  663. description: OK
  664. content:
  665. text/event-stream:
  666. schema:
  667. type: array
  668. items:
  669. $ref: '#/components/schemas/TopicMessageEvent'
  670. delete:
  671. tags:
  672. - Messages
  673. summary: deleteTopicMessages
  674. operationId: deleteTopicMessages
  675. parameters:
  676. - name: clusterName
  677. in: path
  678. required: true
  679. schema:
  680. type: string
  681. - name: topicName
  682. in: path
  683. required: true
  684. schema:
  685. type: string
  686. - name: partitions
  687. in: query
  688. required: false
  689. schema:
  690. type: array
  691. items:
  692. type: integer
  693. responses:
  694. 200:
  695. description: OK
  696. 404:
  697. description: Not found
  698. post:
  699. tags:
  700. - Messages
  701. summary: sendTopicMessages
  702. operationId: sendTopicMessages
  703. parameters:
  704. - name: clusterName
  705. in: path
  706. required: true
  707. schema:
  708. type: string
  709. - name: topicName
  710. in: path
  711. required: true
  712. schema:
  713. type: string
  714. requestBody:
  715. content:
  716. application/json:
  717. schema:
  718. $ref: '#/components/schemas/CreateTopicMessage'
  719. responses:
  720. 200:
  721. description: OK
  722. 404:
  723. description: Not found
  724. /api/clusters/{clusterName}/topics/{topicName}/consumer-groups:
  725. get:
  726. tags:
  727. - Consumer Groups
  728. summary: get Consumer Groups By Topics
  729. operationId: getTopicConsumerGroups
  730. parameters:
  731. - name: clusterName
  732. in: path
  733. required: true
  734. schema:
  735. type: string
  736. - name: topicName
  737. in: path
  738. required: true
  739. schema:
  740. type: string
  741. responses:
  742. 200:
  743. description: OK
  744. content:
  745. application/json:
  746. schema:
  747. type: array
  748. items:
  749. $ref: '#/components/schemas/ConsumerGroup'
  750. /api/clusters/{clusterName}/consumer-groups/paged:
  751. get:
  752. tags:
  753. - Consumer Groups
  754. summary: Get consumer groups with paging support
  755. operationId: getConsumerGroupsPage
  756. parameters:
  757. - name: clusterName
  758. in: path
  759. required: true
  760. schema:
  761. type: string
  762. - name: page
  763. in: query
  764. required: false
  765. schema:
  766. type: integer
  767. - name: perPage
  768. in: query
  769. required: false
  770. schema:
  771. type: integer
  772. - name: search
  773. in: query
  774. required: false
  775. schema:
  776. type: string
  777. - name: orderBy
  778. in: query
  779. required: false
  780. schema:
  781. $ref: '#/components/schemas/ConsumerGroupOrdering'
  782. - name: sortOrder
  783. in: query
  784. required: false
  785. schema:
  786. $ref: '#/components/schemas/SortOrder'
  787. responses:
  788. 200:
  789. description: OK
  790. content:
  791. application/json:
  792. schema:
  793. $ref: '#/components/schemas/ConsumerGroupsPageResponse'
  794. /api/clusters/{clusterName}/consumer-groups/{id}:
  795. get:
  796. tags:
  797. - Consumer Groups
  798. summary: get Consumer Group By Id
  799. operationId: getConsumerGroup
  800. parameters:
  801. - name: clusterName
  802. in: path
  803. required: true
  804. schema:
  805. type: string
  806. - name: id
  807. in: path
  808. required: true
  809. schema:
  810. type: string
  811. responses:
  812. 200:
  813. description: OK
  814. content:
  815. application/json:
  816. schema:
  817. $ref: '#/components/schemas/ConsumerGroupDetails'
  818. delete:
  819. tags:
  820. - Consumer Groups
  821. summary: Delete Consumer Group by ID
  822. operationId: deleteConsumerGroup
  823. parameters:
  824. - name: clusterName
  825. in: path
  826. required: true
  827. schema:
  828. type: string
  829. - name: id
  830. in: path
  831. required: true
  832. schema:
  833. type: string
  834. responses:
  835. 200:
  836. description: OK
  837. /api/clusters/{clusterName}/consumer-groups/{id}/offsets:
  838. post:
  839. tags:
  840. - Consumer Groups
  841. summary: resets consumer group offsets
  842. operationId: resetConsumerGroupOffsets
  843. parameters:
  844. - name: clusterName
  845. in: path
  846. required: true
  847. schema:
  848. type: string
  849. - name: id
  850. in: path
  851. required: true
  852. schema:
  853. type: string
  854. requestBody:
  855. content:
  856. application/json:
  857. schema:
  858. $ref: '#/components/schemas/ConsumerGroupOffsetsReset'
  859. responses:
  860. 200:
  861. description: OK
  862. /api/clusters/{clusterName}/schemas:
  863. post:
  864. tags:
  865. - Schemas
  866. summary: create a new subject schema or update existing subject schema
  867. operationId: createNewSchema
  868. parameters:
  869. - name: clusterName
  870. in: path
  871. required: true
  872. schema:
  873. type: string
  874. requestBody:
  875. content:
  876. application/json:
  877. schema:
  878. $ref: '#/components/schemas/NewSchemaSubject'
  879. responses:
  880. 200:
  881. description: Ok
  882. content:
  883. application/json:
  884. schema:
  885. $ref: '#/components/schemas/SchemaSubject'
  886. 400:
  887. description: Bad request
  888. 409:
  889. description: Duplicate schema
  890. 422:
  891. description: Invalid parameters
  892. get:
  893. tags:
  894. - Schemas
  895. summary: get all schemas of latest version from Schema Registry service
  896. operationId: getSchemas
  897. parameters:
  898. - name: clusterName
  899. in: path
  900. required: true
  901. schema:
  902. type: string
  903. - name: page
  904. in: query
  905. required: false
  906. schema:
  907. type: integer
  908. - name: perPage
  909. in: query
  910. required: false
  911. schema:
  912. type: integer
  913. - name: search
  914. in: query
  915. required: false
  916. schema:
  917. type: string
  918. responses:
  919. 200:
  920. description: OK
  921. content:
  922. application/json:
  923. schema:
  924. $ref: '#/components/schemas/SchemaSubjectsResponse'
  925. /api/clusters/{clusterName}/schemas/{subject}:
  926. delete:
  927. tags:
  928. - Schemas
  929. summary: delete schema from Schema Registry service
  930. operationId: deleteSchema
  931. parameters:
  932. - name: clusterName
  933. in: path
  934. required: true
  935. schema:
  936. type: string
  937. - name: subject
  938. in: path
  939. required: true
  940. schema:
  941. type: string
  942. responses:
  943. 200:
  944. description: OK
  945. 404:
  946. description: Not found
  947. /api/clusters/{clusterName}/schemas/{subject}/versions:
  948. get:
  949. tags:
  950. - Schemas
  951. summary: get all version of subject from Schema Registry service
  952. operationId: getAllVersionsBySubject
  953. parameters:
  954. - name: clusterName
  955. in: path
  956. required: true
  957. schema:
  958. type: string
  959. - name: subject
  960. in: path
  961. required: true
  962. schema:
  963. type: string
  964. responses:
  965. 200:
  966. description: OK
  967. content:
  968. application/json:
  969. schema:
  970. type: array
  971. items:
  972. $ref: '#/components/schemas/SchemaSubject'
  973. /api/clusters/{clusterName}/schemas/{subject}/latest:
  974. get:
  975. tags:
  976. - Schemas
  977. summary: get the latest schema from Schema Registry service
  978. operationId: getLatestSchema
  979. parameters:
  980. - name: clusterName
  981. in: path
  982. required: true
  983. schema:
  984. type: string
  985. - name: subject
  986. in: path
  987. required: true
  988. schema:
  989. type: string
  990. responses:
  991. 200:
  992. description: OK
  993. content:
  994. application/json:
  995. schema:
  996. $ref: '#/components/schemas/SchemaSubject'
  997. delete:
  998. tags:
  999. - Schemas
  1000. summary: delete the latest schema from schema registry
  1001. operationId: deleteLatestSchema
  1002. parameters:
  1003. - name: clusterName
  1004. in: path
  1005. required: true
  1006. schema:
  1007. type: string
  1008. - name: subject
  1009. in: path
  1010. required: true
  1011. schema:
  1012. type: string
  1013. responses:
  1014. 200:
  1015. description: OK
  1016. 404:
  1017. description: Not found
  1018. /api/clusters/{clusterName}/schemas/{subject}/versions/{version}:
  1019. get:
  1020. tags:
  1021. - Schemas
  1022. summary: get schema by version from Schema Registry service
  1023. operationId: getSchemaByVersion
  1024. parameters:
  1025. - name: clusterName
  1026. in: path
  1027. required: true
  1028. schema:
  1029. type: string
  1030. - name: subject
  1031. in: path
  1032. required: true
  1033. schema:
  1034. type: string
  1035. - name: version
  1036. in: path
  1037. required: true
  1038. schema:
  1039. type: integer
  1040. responses:
  1041. 200:
  1042. description: OK
  1043. content:
  1044. application/json:
  1045. schema:
  1046. $ref: '#/components/schemas/SchemaSubject'
  1047. delete:
  1048. tags:
  1049. - Schemas
  1050. summary: delete schema by version from schema registry
  1051. operationId: deleteSchemaByVersion
  1052. parameters:
  1053. - name: clusterName
  1054. in: path
  1055. required: true
  1056. schema:
  1057. type: string
  1058. - name: subject
  1059. in: path
  1060. required: true
  1061. schema:
  1062. type: string
  1063. - name: version
  1064. in: path
  1065. required: true
  1066. schema:
  1067. type: integer
  1068. responses:
  1069. 200:
  1070. description: OK
  1071. 404:
  1072. description: Not found
  1073. /api/clusters/{clusterName}/schemas/compatibility:
  1074. get:
  1075. tags:
  1076. - Schemas
  1077. summary: Get global schema compatibility level
  1078. operationId: getGlobalSchemaCompatibilityLevel
  1079. parameters:
  1080. - name: clusterName
  1081. in: path
  1082. required: true
  1083. schema:
  1084. type: string
  1085. responses:
  1086. 200:
  1087. description: OK
  1088. content:
  1089. application/json:
  1090. schema:
  1091. $ref: '#/components/schemas/CompatibilityLevel'
  1092. put:
  1093. tags:
  1094. - Schemas
  1095. summary: Update compatibility level globally
  1096. operationId: updateGlobalSchemaCompatibilityLevel
  1097. parameters:
  1098. - name: clusterName
  1099. in: path
  1100. required: true
  1101. schema:
  1102. type: string
  1103. requestBody:
  1104. content:
  1105. application/json:
  1106. schema:
  1107. $ref: '#/components/schemas/CompatibilityLevel'
  1108. responses:
  1109. 200:
  1110. description: OK
  1111. 404:
  1112. description: Not Found
  1113. /api/clusters/{clusterName}/schemas/{subject}/compatibility:
  1114. put:
  1115. tags:
  1116. - Schemas
  1117. summary: Update compatibility level for specific schema.
  1118. operationId: updateSchemaCompatibilityLevel
  1119. parameters:
  1120. - name: clusterName
  1121. in: path
  1122. required: true
  1123. schema:
  1124. type: string
  1125. - name: subject
  1126. in: path
  1127. required: true
  1128. schema:
  1129. type: string
  1130. requestBody:
  1131. content:
  1132. application/json:
  1133. schema:
  1134. $ref: '#/components/schemas/CompatibilityLevel'
  1135. responses:
  1136. 200:
  1137. description: OK
  1138. 404:
  1139. description: Not Found
  1140. /api/clusters/{clusterName}/schemas/{subject}/check:
  1141. post:
  1142. tags:
  1143. - Schemas
  1144. summary: Check compatibility of the schema.
  1145. operationId: checkSchemaCompatibility
  1146. parameters:
  1147. - name: clusterName
  1148. in: path
  1149. required: true
  1150. schema:
  1151. type: string
  1152. - name: subject
  1153. in: path
  1154. required: true
  1155. schema:
  1156. type: string
  1157. requestBody:
  1158. content:
  1159. application/json:
  1160. schema:
  1161. $ref: '#/components/schemas/NewSchemaSubject'
  1162. responses:
  1163. 200:
  1164. description: OK
  1165. content:
  1166. application/json:
  1167. schema:
  1168. $ref: '#/components/schemas/CompatibilityCheckResponse'
  1169. 404:
  1170. description: Not Found
  1171. /api/clusters/{clusterName}/connects:
  1172. get:
  1173. tags:
  1174. - Kafka Connect
  1175. summary: get all kafka connect instances
  1176. operationId: getConnects
  1177. parameters:
  1178. - name: clusterName
  1179. in: path
  1180. required: true
  1181. schema:
  1182. type: string
  1183. responses:
  1184. 200:
  1185. description: OK
  1186. content:
  1187. application/json:
  1188. schema:
  1189. type: array
  1190. items:
  1191. $ref: '#/components/schemas/Connect'
  1192. /api/clusters/{clusterName}/connectors:
  1193. get:
  1194. tags:
  1195. - Kafka Connect
  1196. summary: get filtered kafka connectors
  1197. operationId: getAllConnectors
  1198. parameters:
  1199. - name: clusterName
  1200. in: path
  1201. required: true
  1202. schema:
  1203. type: string
  1204. - name: search
  1205. in: query
  1206. required: false
  1207. schema:
  1208. type: string
  1209. - name: orderBy
  1210. in: query
  1211. required: false
  1212. schema:
  1213. $ref: '#/components/schemas/ConnectorColumnsToSort'
  1214. - name: sortOrder
  1215. in: query
  1216. required: false
  1217. schema:
  1218. $ref: '#/components/schemas/SortOrder'
  1219. responses:
  1220. 200:
  1221. description: OK
  1222. content:
  1223. application/json:
  1224. schema:
  1225. type: array
  1226. items:
  1227. $ref: '#/components/schemas/FullConnectorInfo'
  1228. /api/clusters/{clusterName}/connects/{connectName}/connectors:
  1229. get:
  1230. tags:
  1231. - Kafka Connect
  1232. summary: get connectors for provided kafka connect instance
  1233. operationId: getConnectors
  1234. parameters:
  1235. - name: clusterName
  1236. in: path
  1237. required: true
  1238. schema:
  1239. type: string
  1240. - name: connectName
  1241. in: path
  1242. required: true
  1243. schema:
  1244. type: string
  1245. responses:
  1246. 200:
  1247. description: OK
  1248. content:
  1249. application/json:
  1250. schema:
  1251. type: array
  1252. items:
  1253. type: string
  1254. post:
  1255. tags:
  1256. - Kafka Connect
  1257. summary: create new connector
  1258. operationId: createConnector
  1259. parameters:
  1260. - name: clusterName
  1261. in: path
  1262. required: true
  1263. schema:
  1264. type: string
  1265. - name: connectName
  1266. in: path
  1267. required: true
  1268. schema:
  1269. type: string
  1270. requestBody:
  1271. content:
  1272. application/json:
  1273. schema:
  1274. $ref: '#/components/schemas/NewConnector'
  1275. responses:
  1276. 200:
  1277. description: OK
  1278. content:
  1279. application/json:
  1280. schema:
  1281. $ref: '#/components/schemas/Connector'
  1282. 409:
  1283. description: rebalance is in progress
  1284. /api/clusters/{clusterName}/connects/{connectName}/connectors/{connectorName}:
  1285. get:
  1286. tags:
  1287. - Kafka Connect
  1288. summary: get information about the connector
  1289. operationId: getConnector
  1290. parameters:
  1291. - name: clusterName
  1292. in: path
  1293. required: true
  1294. schema:
  1295. type: string
  1296. - name: connectName
  1297. in: path
  1298. required: true
  1299. schema:
  1300. type: string
  1301. - name: connectorName
  1302. in: path
  1303. required: true
  1304. schema:
  1305. type: string
  1306. responses:
  1307. 200:
  1308. description: OK
  1309. content:
  1310. application/json:
  1311. schema:
  1312. $ref: '#/components/schemas/Connector'
  1313. delete:
  1314. tags:
  1315. - Kafka Connect
  1316. summary: delete connector
  1317. operationId: deleteConnector
  1318. parameters:
  1319. - name: clusterName
  1320. in: path
  1321. required: true
  1322. schema:
  1323. type: string
  1324. - name: connectName
  1325. in: path
  1326. required: true
  1327. schema:
  1328. type: string
  1329. - name: connectorName
  1330. in: path
  1331. required: true
  1332. schema:
  1333. type: string
  1334. responses:
  1335. 200:
  1336. description: OK
  1337. 409:
  1338. description: rebalance is in progress
  1339. /api/clusters/{clusterName}/connects/{connectName}/connectors/{connectorName}/action/{action}:
  1340. post:
  1341. tags:
  1342. - Kafka Connect
  1343. summary: update connector state (restart, pause or resume)
  1344. operationId: updateConnectorState
  1345. parameters:
  1346. - name: clusterName
  1347. in: path
  1348. required: true
  1349. schema:
  1350. type: string
  1351. - name: connectName
  1352. in: path
  1353. required: true
  1354. schema:
  1355. type: string
  1356. - name: connectorName
  1357. in: path
  1358. required: true
  1359. schema:
  1360. type: string
  1361. - name: action
  1362. in: path
  1363. required: true
  1364. schema:
  1365. $ref: '#/components/schemas/ConnectorAction'
  1366. responses:
  1367. 200:
  1368. description: OK
  1369. 409:
  1370. description: rebalance is in progress
  1371. /api/clusters/{clusterName}/connects/{connectName}/connectors/{connectorName}/config:
  1372. get:
  1373. tags:
  1374. - Kafka Connect
  1375. summary: get connector configuration
  1376. operationId: getConnectorConfig
  1377. parameters:
  1378. - name: clusterName
  1379. in: path
  1380. required: true
  1381. schema:
  1382. type: string
  1383. - name: connectName
  1384. in: path
  1385. required: true
  1386. schema:
  1387. type: string
  1388. - name: connectorName
  1389. in: path
  1390. required: true
  1391. schema:
  1392. type: string
  1393. responses:
  1394. 200:
  1395. description: OK
  1396. content:
  1397. application/json:
  1398. schema:
  1399. $ref: '#/components/schemas/ConnectorConfig'
  1400. put:
  1401. tags:
  1402. - Kafka Connect
  1403. summary: update or create connector with provided config
  1404. operationId: setConnectorConfig
  1405. parameters:
  1406. - name: clusterName
  1407. in: path
  1408. required: true
  1409. schema:
  1410. type: string
  1411. - name: connectName
  1412. in: path
  1413. required: true
  1414. schema:
  1415. type: string
  1416. - name: connectorName
  1417. in: path
  1418. required: true
  1419. schema:
  1420. type: string
  1421. requestBody:
  1422. content:
  1423. application/json:
  1424. schema:
  1425. $ref: '#/components/schemas/ConnectorConfig'
  1426. responses:
  1427. 200:
  1428. description: OK
  1429. content:
  1430. application/json:
  1431. schema:
  1432. $ref: '#/components/schemas/Connector'
  1433. 409:
  1434. description: rebalance is in progress
  1435. /api/clusters/{clusterName}/connects/{connectName}/connectors/{connectorName}/tasks:
  1436. get:
  1437. tags:
  1438. - Kafka Connect
  1439. summary: get connector tasks
  1440. operationId: getConnectorTasks
  1441. parameters:
  1442. - name: clusterName
  1443. in: path
  1444. required: true
  1445. schema:
  1446. type: string
  1447. - name: connectName
  1448. in: path
  1449. required: true
  1450. schema:
  1451. type: string
  1452. - name: connectorName
  1453. in: path
  1454. required: true
  1455. schema:
  1456. type: string
  1457. responses:
  1458. 200:
  1459. description: OK
  1460. content:
  1461. application/json:
  1462. schema:
  1463. type: array
  1464. items:
  1465. $ref: '#/components/schemas/Task'
  1466. /api/clusters/{clusterName}/connects/{connectName}/connectors/{connectorName}/tasks/{taskId}/action/restart:
  1467. post:
  1468. tags:
  1469. - Kafka Connect
  1470. summary: restart connector task
  1471. operationId: restartConnectorTask
  1472. parameters:
  1473. - name: clusterName
  1474. in: path
  1475. required: true
  1476. schema:
  1477. type: string
  1478. - name: connectName
  1479. in: path
  1480. required: true
  1481. schema:
  1482. type: string
  1483. - name: connectorName
  1484. in: path
  1485. required: true
  1486. schema:
  1487. type: string
  1488. - name: taskId
  1489. in: path
  1490. required: true
  1491. schema:
  1492. type: integer
  1493. responses:
  1494. 200:
  1495. description: OK
  1496. /api/clusters/{clusterName}/ksql/v2:
  1497. post:
  1498. tags:
  1499. - Ksql
  1500. summary: executeKsql
  1501. operationId: executeKsql
  1502. parameters:
  1503. - name: clusterName
  1504. in: path
  1505. required: true
  1506. schema:
  1507. type: string
  1508. requestBody:
  1509. content:
  1510. application/json:
  1511. schema:
  1512. $ref: '#/components/schemas/KsqlCommandV2'
  1513. responses:
  1514. 200:
  1515. description: OK
  1516. content:
  1517. application/json:
  1518. schema:
  1519. $ref: '#/components/schemas/KsqlCommandV2Response'
  1520. /api/clusters/{clusterName}/ksql/tables:
  1521. get:
  1522. tags:
  1523. - Ksql
  1524. summary: listTables
  1525. operationId: listTables
  1526. parameters:
  1527. - name: clusterName
  1528. in: path
  1529. required: true
  1530. schema:
  1531. type: string
  1532. responses:
  1533. 200:
  1534. description: OK
  1535. content:
  1536. application/json:
  1537. schema:
  1538. type: array
  1539. items:
  1540. $ref: '#/components/schemas/KsqlTableDescription'
  1541. /api/clusters/{clusterName}/ksql/streams:
  1542. get:
  1543. tags:
  1544. - Ksql
  1545. summary: listStreams
  1546. operationId: listStreams
  1547. parameters:
  1548. - name: clusterName
  1549. in: path
  1550. required: true
  1551. schema:
  1552. type: string
  1553. responses:
  1554. 200:
  1555. description: OK
  1556. content:
  1557. application/json:
  1558. schema:
  1559. type: array
  1560. items:
  1561. $ref: '#/components/schemas/KsqlStreamDescription'
  1562. /api/clusters/{clusterName}/ksql/response:
  1563. get:
  1564. tags:
  1565. - Ksql
  1566. summary: Open SSE pipe
  1567. operationId: openKsqlResponsePipe
  1568. parameters:
  1569. - name: clusterName
  1570. in: path
  1571. required: true
  1572. schema:
  1573. type: string
  1574. - name: pipeId
  1575. in: query
  1576. required: true
  1577. schema:
  1578. type: string
  1579. responses:
  1580. 200:
  1581. description: OK
  1582. content:
  1583. text/event-stream:
  1584. schema:
  1585. type: array
  1586. items:
  1587. $ref: '#/components/schemas/KsqlResponse'
  1588. /api/clusters/{clusterName}/connects/{connectName}/plugins:
  1589. get:
  1590. tags:
  1591. - Kafka Connect
  1592. summary: get connector plugins
  1593. operationId: getConnectorPlugins
  1594. parameters:
  1595. - name: clusterName
  1596. in: path
  1597. required: true
  1598. schema:
  1599. type: string
  1600. - name: connectName
  1601. in: path
  1602. required: true
  1603. schema:
  1604. type: string
  1605. responses:
  1606. 200:
  1607. description: OK
  1608. content:
  1609. application/json:
  1610. schema:
  1611. type: array
  1612. items:
  1613. $ref: '#/components/schemas/ConnectorPlugin'
  1614. /api/clusters/{clusterName}/connects/{connectName}/plugins/{pluginName}/config/validate:
  1615. put:
  1616. tags:
  1617. - Kafka Connect
  1618. summary: validate connector plugin configuration
  1619. operationId: validateConnectorPluginConfig
  1620. parameters:
  1621. - name: clusterName
  1622. in: path
  1623. required: true
  1624. schema:
  1625. type: string
  1626. - name: connectName
  1627. in: path
  1628. required: true
  1629. schema:
  1630. type: string
  1631. - name: pluginName
  1632. in: path
  1633. required: true
  1634. schema:
  1635. type: string
  1636. requestBody:
  1637. content:
  1638. application/json:
  1639. schema:
  1640. $ref: '#/components/schemas/ConnectorConfig'
  1641. responses:
  1642. 200:
  1643. description: OK
  1644. content:
  1645. application/json:
  1646. schema:
  1647. $ref: '#/components/schemas/ConnectorPluginConfigValidationResponse'
  1648. /api/clusters/{clusterName}/topics/{topicName}/partitions:
  1649. patch:
  1650. tags:
  1651. - Topics
  1652. summary: increaseTopicPartitions
  1653. operationId: increaseTopicPartitions
  1654. parameters:
  1655. - name: clusterName
  1656. in: path
  1657. required: true
  1658. schema:
  1659. type: string
  1660. - name: topicName
  1661. in: path
  1662. required: true
  1663. schema:
  1664. type: string
  1665. requestBody:
  1666. content:
  1667. application/json:
  1668. schema:
  1669. $ref: '#/components/schemas/PartitionsIncrease'
  1670. responses:
  1671. 200:
  1672. description: OK
  1673. content:
  1674. application/json:
  1675. schema:
  1676. $ref: '#/components/schemas/PartitionsIncreaseResponse'
  1677. 404:
  1678. description: Not found
  1679. /api/clusters/{clusterName}/acls:
  1680. get:
  1681. tags:
  1682. - Acls
  1683. summary: listKafkaAcls
  1684. operationId: listAcls
  1685. parameters:
  1686. - name: clusterName
  1687. in: path
  1688. required: true
  1689. schema:
  1690. type: string
  1691. responses:
  1692. 200:
  1693. description: OK
  1694. content:
  1695. application/json:
  1696. schema:
  1697. type: array
  1698. items:
  1699. $ref: '#/components/schemas/KafkaAcl'
  1700. /api/clusters/{clusterName}/acl/csv:
  1701. get:
  1702. tags:
  1703. - Acls
  1704. summary: getAclAsCsv
  1705. operationId: getAclAsCsv
  1706. parameters:
  1707. - name: clusterName
  1708. in: path
  1709. required: true
  1710. schema:
  1711. type: string
  1712. responses:
  1713. 200:
  1714. description: OK
  1715. content:
  1716. text/plain:
  1717. schema:
  1718. type: string
  1719. post:
  1720. tags:
  1721. - Acls
  1722. summary: syncAclsCsv
  1723. operationId: syncAclsCsv
  1724. parameters:
  1725. - name: clusterName
  1726. in: path
  1727. required: true
  1728. schema:
  1729. type: string
  1730. requestBody:
  1731. content:
  1732. text/plain:
  1733. schema:
  1734. type: string
  1735. responses:
  1736. 200:
  1737. description: OK
  1738. /api/clusters/{clusterName}/acl:
  1739. post:
  1740. tags:
  1741. - Acls
  1742. summary: createAcl
  1743. operationId: createAcl
  1744. parameters:
  1745. - name: clusterName
  1746. in: path
  1747. required: true
  1748. schema:
  1749. type: string
  1750. requestBody:
  1751. content:
  1752. application/json:
  1753. schema:
  1754. $ref: '#/components/schemas/KafkaAcl'
  1755. responses:
  1756. 200:
  1757. description: OK
  1758. delete:
  1759. tags:
  1760. - Acls
  1761. summary: deleteAcl
  1762. operationId: deleteAcl
  1763. parameters:
  1764. - name: clusterName
  1765. in: path
  1766. required: true
  1767. schema:
  1768. type: string
  1769. requestBody:
  1770. content:
  1771. application/json:
  1772. schema:
  1773. $ref: '#/components/schemas/KafkaAcl'
  1774. responses:
  1775. 200:
  1776. description: OK
  1777. 404:
  1778. description: Acl not found
  1779. /api/authorization:
  1780. get:
  1781. tags:
  1782. - Authorization
  1783. summary: Get user authentication related info
  1784. operationId: getUserAuthInfo
  1785. responses:
  1786. 200:
  1787. description: OK
  1788. content:
  1789. application/json:
  1790. schema:
  1791. $ref: '#/components/schemas/AuthenticationInfo'
  1792. /api/info:
  1793. get:
  1794. tags:
  1795. - ApplicationConfig
  1796. summary: Gets application info
  1797. operationId: getApplicationInfo
  1798. responses:
  1799. 200:
  1800. description: OK
  1801. content:
  1802. application/json:
  1803. schema:
  1804. $ref: '#/components/schemas/ApplicationInfo'
  1805. /api/config:
  1806. get:
  1807. tags:
  1808. - ApplicationConfig
  1809. summary: Gets current application configuration
  1810. operationId: getCurrentConfig
  1811. responses:
  1812. 200:
  1813. description: OK
  1814. content:
  1815. application/json:
  1816. schema:
  1817. $ref: '#/components/schemas/ApplicationConfig'
  1818. put:
  1819. tags:
  1820. - ApplicationConfig
  1821. summary: Restarts application with specified configuration
  1822. operationId: restartWithConfig
  1823. requestBody:
  1824. content:
  1825. application/json:
  1826. schema:
  1827. $ref: '#/components/schemas/RestartRequest'
  1828. responses:
  1829. 200:
  1830. description: OK
  1831. /api/config/validated:
  1832. put:
  1833. tags:
  1834. - ApplicationConfig
  1835. summary: Restarts application with specified configuration
  1836. operationId: validateConfig
  1837. requestBody:
  1838. content:
  1839. application/json:
  1840. schema:
  1841. $ref: '#/components/schemas/ApplicationConfig'
  1842. responses:
  1843. 200:
  1844. description: OK
  1845. content:
  1846. application/json:
  1847. schema:
  1848. $ref: '#/components/schemas/ApplicationConfigValidation'
  1849. /api/config/relatedfiles:
  1850. post:
  1851. tags:
  1852. - ApplicationConfig
  1853. summary: Restarts application with specified configuration
  1854. operationId: uploadConfigRelatedFile
  1855. requestBody:
  1856. content:
  1857. multipart/form-data:
  1858. schema:
  1859. type: object
  1860. properties:
  1861. file:
  1862. type: string
  1863. format: filepart
  1864. responses:
  1865. 200:
  1866. description: OK
  1867. content:
  1868. application/json:
  1869. schema:
  1870. $ref: '#/components/schemas/UploadedFileInfo'
  1871. components:
  1872. schemas:
  1873. TopicSerdeSuggestion:
  1874. type: object
  1875. properties:
  1876. key:
  1877. type: array
  1878. items:
  1879. $ref: '#/components/schemas/SerdeDescription'
  1880. value:
  1881. type: array
  1882. items:
  1883. $ref: '#/components/schemas/SerdeDescription'
  1884. SerdeDescription:
  1885. type: object
  1886. properties:
  1887. name:
  1888. type: string
  1889. description:
  1890. type: string
  1891. preferred:
  1892. description: "This serde was automatically chosen by cluster config. This should be enabled in UI by default. Also it will be used for deserialization if no serdes passed."
  1893. type: boolean
  1894. schema:
  1895. type: string
  1896. additionalProperties:
  1897. type: object
  1898. additionalProperties:
  1899. type: object
  1900. SerdeUsage:
  1901. type: string
  1902. enum:
  1903. - SERIALIZE
  1904. - DESERIALIZE
  1905. ErrorResponse:
  1906. description: Error object that will be returned with 4XX and 5XX HTTP statuses
  1907. type: object
  1908. properties:
  1909. code:
  1910. type: integer
  1911. description: Internal error code (can be used for message formatting & localization on UI)
  1912. message:
  1913. type: string
  1914. description: Error message
  1915. timestamp:
  1916. type: number
  1917. description: Response unix timestamp in ms
  1918. requestId:
  1919. type: string
  1920. description: Unique server-defined request id for convenient debugging
  1921. fieldsErrors:
  1922. type: array
  1923. items:
  1924. $ref: '#/components/schemas/FieldError'
  1925. stackTrace:
  1926. type: string
  1927. FieldError:
  1928. type: object
  1929. properties:
  1930. fieldName:
  1931. type: string
  1932. description: Name of field that violated format
  1933. restrictions:
  1934. description: Field format violations description (ex. ["size must be between 0 and 20", "must be a well-formed email address"])
  1935. type: array
  1936. items:
  1937. type: string
  1938. MetricsCollectionError:
  1939. type: object
  1940. properties:
  1941. message:
  1942. type: string
  1943. stackTrace:
  1944. type: string
  1945. ApplicationInfo:
  1946. type: object
  1947. properties:
  1948. enabledFeatures:
  1949. type: array
  1950. items:
  1951. type: string
  1952. enum:
  1953. - DYNAMIC_CONFIG
  1954. Cluster:
  1955. type: object
  1956. properties:
  1957. name:
  1958. type: string
  1959. defaultCluster:
  1960. type: boolean
  1961. status:
  1962. $ref: '#/components/schemas/ServerStatus'
  1963. lastError:
  1964. $ref: '#/components/schemas/MetricsCollectionError'
  1965. brokerCount:
  1966. type: integer
  1967. onlinePartitionCount:
  1968. type: integer
  1969. topicCount:
  1970. type: integer
  1971. bytesInPerSec:
  1972. type: number
  1973. bytesOutPerSec:
  1974. type: number
  1975. readOnly:
  1976. type: boolean
  1977. version:
  1978. type: string
  1979. features:
  1980. type: array
  1981. items:
  1982. type: string
  1983. enum:
  1984. - SCHEMA_REGISTRY
  1985. - KAFKA_CONNECT
  1986. - KSQL_DB
  1987. - TOPIC_DELETION
  1988. - KAFKA_ACL_VIEW # get ACLs listing
  1989. - KAFKA_ACL_EDIT # create & delete ACLs
  1990. required:
  1991. - id
  1992. - name
  1993. - status
  1994. ServerStatus:
  1995. type: string
  1996. enum:
  1997. - online
  1998. - offline
  1999. - initializing
  2000. ClusterMetrics:
  2001. type: object
  2002. properties:
  2003. items:
  2004. type: array
  2005. items:
  2006. $ref: '#/components/schemas/Metric'
  2007. ClusterStats:
  2008. type: object
  2009. properties:
  2010. brokerCount:
  2011. type: integer
  2012. zooKeeperStatus:
  2013. type: integer
  2014. deprecated: true
  2015. activeControllers:
  2016. type: integer
  2017. description: Id of broker which is cluster's controller. null, if controller not known yet.
  2018. onlinePartitionCount:
  2019. type: integer
  2020. offlinePartitionCount:
  2021. type: integer
  2022. inSyncReplicasCount:
  2023. type: integer
  2024. outOfSyncReplicasCount:
  2025. type: integer
  2026. underReplicatedPartitionCount:
  2027. type: integer
  2028. diskUsage:
  2029. type: array
  2030. items:
  2031. $ref: '#/components/schemas/BrokerDiskUsage'
  2032. version:
  2033. type: string
  2034. BrokerDiskUsage:
  2035. type: object
  2036. properties:
  2037. brokerId:
  2038. type: integer
  2039. segmentSize:
  2040. type: integer
  2041. format: int64
  2042. segmentCount:
  2043. type: integer
  2044. required:
  2045. - brokerId
  2046. BrokerMetrics:
  2047. type: object
  2048. properties:
  2049. segmentSize:
  2050. type: integer
  2051. format: int64
  2052. segmentCount:
  2053. type: integer
  2054. metrics:
  2055. type: array
  2056. items:
  2057. $ref: '#/components/schemas/Metric'
  2058. BrokerLogdirs:
  2059. type: object
  2060. properties:
  2061. name:
  2062. type: string
  2063. error:
  2064. type: string
  2065. topics:
  2066. type: array
  2067. items:
  2068. $ref: '#/components/schemas/TopicLogdirs'
  2069. BrokersLogdirs:
  2070. type: object
  2071. properties:
  2072. name:
  2073. type: string
  2074. error:
  2075. type: string
  2076. topics:
  2077. type: array
  2078. items:
  2079. $ref: '#/components/schemas/BrokerTopicLogdirs'
  2080. TopicsResponse:
  2081. type: object
  2082. properties:
  2083. pageCount:
  2084. type: integer
  2085. topics:
  2086. type: array
  2087. items:
  2088. $ref: '#/components/schemas/Topic'
  2089. TopicColumnsToSort:
  2090. type: string
  2091. enum:
  2092. - NAME
  2093. - OUT_OF_SYNC_REPLICAS
  2094. - TOTAL_PARTITIONS
  2095. - REPLICATION_FACTOR
  2096. - SIZE
  2097. ConnectorColumnsToSort:
  2098. type: string
  2099. enum:
  2100. - NAME
  2101. - CONNECT
  2102. - TYPE
  2103. - STATUS
  2104. SortOrder:
  2105. type: string
  2106. enum:
  2107. - ASC
  2108. - DESC
  2109. Topic:
  2110. type: object
  2111. properties:
  2112. name:
  2113. type: string
  2114. internal:
  2115. type: boolean
  2116. partitionCount:
  2117. type: integer
  2118. replicationFactor:
  2119. type: integer
  2120. replicas:
  2121. type: integer
  2122. inSyncReplicas:
  2123. type: integer
  2124. segmentSize:
  2125. type: integer
  2126. format: int64
  2127. segmentCount:
  2128. type: integer
  2129. bytesInPerSec:
  2130. type: number
  2131. bytesOutPerSec:
  2132. type: number
  2133. underReplicatedPartitions:
  2134. type: integer
  2135. cleanUpPolicy:
  2136. $ref: '#/components/schemas/CleanUpPolicy'
  2137. partitions:
  2138. type: array
  2139. items:
  2140. $ref: "#/components/schemas/Partition"
  2141. required:
  2142. - name
  2143. TopicAnalysis:
  2144. type: object
  2145. description: "Represents analysis state. Note: 'progress' and 'result' fields are set exclusively depending on analysis state."
  2146. properties:
  2147. progress:
  2148. $ref: '#/components/schemas/TopicAnalysisProgress'
  2149. result:
  2150. $ref: '#/components/schemas/TopicAnalysisResult'
  2151. TopicAnalysisProgress:
  2152. type: object
  2153. properties:
  2154. startedAt:
  2155. type: integer
  2156. format: int64
  2157. completenessPercent:
  2158. type: number
  2159. msgsScanned:
  2160. type: integer
  2161. format: int64
  2162. bytesScanned:
  2163. type: integer
  2164. format: int64
  2165. TopicAnalysisResult:
  2166. type: object
  2167. properties:
  2168. startedAt:
  2169. type: integer
  2170. format: int64
  2171. finishedAt:
  2172. type: integer
  2173. format: int64
  2174. error:
  2175. type: string
  2176. totalStats:
  2177. $ref: '#/components/schemas/TopicAnalysisStats'
  2178. partitionStats:
  2179. type: array
  2180. items:
  2181. $ref: "#/components/schemas/TopicAnalysisStats"
  2182. TopicAnalysisStats:
  2183. type: object
  2184. properties:
  2185. partition:
  2186. type: integer
  2187. format: int32
  2188. description: "null if this is total stats"
  2189. totalMsgs:
  2190. type: integer
  2191. format: int64
  2192. minOffset:
  2193. type: integer
  2194. format: int64
  2195. maxOffset:
  2196. type: integer
  2197. format: int64
  2198. minTimestamp:
  2199. type: integer
  2200. format: int64
  2201. maxTimestamp:
  2202. type: integer
  2203. format: int64
  2204. nullKeys:
  2205. type: integer
  2206. format: int64
  2207. nullValues:
  2208. type: integer
  2209. format: int64
  2210. approxUniqKeys:
  2211. type: integer
  2212. format: int64
  2213. approxUniqValues:
  2214. type: integer
  2215. format: int64
  2216. keySize:
  2217. $ref: "#/components/schemas/TopicAnalysisSizeStats"
  2218. valueSize:
  2219. $ref: "#/components/schemas/TopicAnalysisSizeStats"
  2220. hourlyMsgCounts:
  2221. type: array
  2222. items:
  2223. type: object
  2224. properties:
  2225. hourStart:
  2226. type: integer
  2227. format: int64
  2228. count:
  2229. type: integer
  2230. format: int64
  2231. TopicAnalysisSizeStats:
  2232. type: object
  2233. description: "All sizes in bytes"
  2234. properties:
  2235. sum:
  2236. type: integer
  2237. format: int64
  2238. min:
  2239. type: integer
  2240. format: int64
  2241. max:
  2242. type: integer
  2243. format: int64
  2244. avg:
  2245. type: integer
  2246. format: int64
  2247. prctl50:
  2248. type: integer
  2249. format: int64
  2250. prctl75:
  2251. type: integer
  2252. format: int64
  2253. prctl95:
  2254. type: integer
  2255. format: int64
  2256. prctl99:
  2257. type: integer
  2258. format: int64
  2259. prctl999:
  2260. type: integer
  2261. format: int64
  2262. Replica:
  2263. type: object
  2264. properties:
  2265. broker:
  2266. type: integer
  2267. leader:
  2268. type: boolean
  2269. inSync:
  2270. type: boolean
  2271. TopicDetails:
  2272. type: object
  2273. properties:
  2274. name:
  2275. type: string
  2276. internal:
  2277. type: boolean
  2278. partitions:
  2279. type: array
  2280. items:
  2281. $ref: "#/components/schemas/Partition"
  2282. partitionCount:
  2283. type: integer
  2284. replicationFactor:
  2285. type: integer
  2286. replicas:
  2287. type: integer
  2288. inSyncReplicas:
  2289. type: integer
  2290. bytesInPerSec:
  2291. type: number
  2292. bytesOutPerSec:
  2293. type: number
  2294. segmentSize:
  2295. type: integer
  2296. format: int64
  2297. segmentCount:
  2298. type: integer
  2299. underReplicatedPartitions:
  2300. type: integer
  2301. cleanUpPolicy:
  2302. $ref: '#/components/schemas/CleanUpPolicy'
  2303. keySerde:
  2304. type: string
  2305. valueSerde:
  2306. type: string
  2307. required:
  2308. - name
  2309. TopicConfig:
  2310. type: object
  2311. properties:
  2312. name:
  2313. type: string
  2314. value:
  2315. type: string
  2316. defaultValue:
  2317. type: string
  2318. source:
  2319. $ref: "#/components/schemas/ConfigSource"
  2320. isSensitive:
  2321. type: boolean
  2322. isReadOnly:
  2323. type: boolean
  2324. synonyms:
  2325. type: array
  2326. items:
  2327. $ref: "#/components/schemas/ConfigSynonym"
  2328. doc:
  2329. type: string
  2330. required:
  2331. - name
  2332. TopicCreation:
  2333. type: object
  2334. properties:
  2335. name:
  2336. type: string
  2337. partitions:
  2338. type: integer
  2339. replicationFactor:
  2340. type: integer
  2341. configs:
  2342. type: object
  2343. additionalProperties:
  2344. type: string
  2345. required:
  2346. - name
  2347. - partitions
  2348. TopicUpdate:
  2349. type: object
  2350. properties:
  2351. configs:
  2352. type: object
  2353. additionalProperties:
  2354. type: string
  2355. required:
  2356. - configs
  2357. Broker:
  2358. type: object
  2359. properties:
  2360. id:
  2361. type: integer
  2362. host:
  2363. type: string
  2364. port:
  2365. type: integer
  2366. bytesInPerSec:
  2367. type: number
  2368. bytesOutPerSec:
  2369. type: number
  2370. required:
  2371. - id
  2372. BrokerLogdirUpdate:
  2373. type: object
  2374. properties:
  2375. topic:
  2376. type: string
  2377. partition:
  2378. type: integer
  2379. logDir:
  2380. type: string
  2381. ConsumerGroupState:
  2382. type: string
  2383. enum:
  2384. - UNKNOWN
  2385. - PREPARING_REBALANCE
  2386. - COMPLETING_REBALANCE
  2387. - STABLE
  2388. - DEAD
  2389. - EMPTY
  2390. MessageFormat:
  2391. type: string
  2392. enum:
  2393. - AVRO
  2394. - JSON
  2395. - PROTOBUF
  2396. - UNKNOWN
  2397. ConsumerGroup:
  2398. type: object
  2399. properties:
  2400. groupId:
  2401. type: string
  2402. members:
  2403. type: integer
  2404. topics:
  2405. type: integer
  2406. simple:
  2407. type: boolean
  2408. partitionAssignor:
  2409. type: string
  2410. state:
  2411. $ref: "#/components/schemas/ConsumerGroupState"
  2412. coordinator:
  2413. $ref: "#/components/schemas/Broker"
  2414. messagesBehind:
  2415. type: integer
  2416. format: int64
  2417. description: null if consumer group has no offsets committed
  2418. required:
  2419. - groupId
  2420. ConsumerGroupOrdering:
  2421. type: string
  2422. enum:
  2423. - NAME
  2424. - MEMBERS
  2425. - STATE
  2426. ConsumerGroupsPageResponse:
  2427. type: object
  2428. properties:
  2429. pageCount:
  2430. type: integer
  2431. consumerGroups:
  2432. type: array
  2433. items:
  2434. $ref: '#/components/schemas/ConsumerGroup'
  2435. CreateTopicMessage:
  2436. type: object
  2437. properties:
  2438. partition:
  2439. type: integer
  2440. key:
  2441. type: string
  2442. nullable: true
  2443. headers:
  2444. type: object
  2445. additionalProperties:
  2446. type: string
  2447. content:
  2448. type: string
  2449. nullable: true
  2450. keySerde:
  2451. type: string
  2452. nullable: true
  2453. valueSerde:
  2454. type: string
  2455. nullable: true
  2456. required:
  2457. - partition
  2458. TopicMessageEvent:
  2459. type: object
  2460. properties:
  2461. type:
  2462. type: string
  2463. enum:
  2464. - PHASE
  2465. - MESSAGE
  2466. - CONSUMING
  2467. - DONE
  2468. - EMIT_THROTTLING
  2469. message:
  2470. $ref: "#/components/schemas/TopicMessage"
  2471. phase:
  2472. $ref: "#/components/schemas/TopicMessagePhase"
  2473. consuming:
  2474. $ref: "#/components/schemas/TopicMessageConsuming"
  2475. TopicMessagePhase:
  2476. type: object
  2477. properties:
  2478. name:
  2479. type: string
  2480. TimeStampFormat:
  2481. type: object
  2482. properties:
  2483. timeStampFormat:
  2484. type: string
  2485. TopicMessageConsuming:
  2486. type: object
  2487. properties:
  2488. bytesConsumed:
  2489. type: integer
  2490. format: int64
  2491. elapsedMs:
  2492. type: integer
  2493. format: int64
  2494. isCancelled:
  2495. type: boolean
  2496. messagesConsumed:
  2497. type: integer
  2498. filterApplyErrors:
  2499. type: integer
  2500. TopicMessage:
  2501. type: object
  2502. properties:
  2503. partition:
  2504. type: integer
  2505. offset:
  2506. type: integer
  2507. format: int64
  2508. timestamp:
  2509. type: string
  2510. format: date-time
  2511. timestampType:
  2512. type: string
  2513. enum:
  2514. - NO_TIMESTAMP_TYPE
  2515. - CREATE_TIME
  2516. - LOG_APPEND_TIME
  2517. key:
  2518. type: string
  2519. headers:
  2520. type: object
  2521. additionalProperties:
  2522. type: string
  2523. content:
  2524. type: string
  2525. keyFormat:
  2526. #deprecated - wont be filled - use 'keySerde' field instead
  2527. $ref: "#/components/schemas/MessageFormat"
  2528. valueFormat:
  2529. #deprecated - wont be filled - use 'valueSerde' field instead
  2530. $ref: "#/components/schemas/MessageFormat"
  2531. keySize:
  2532. type: integer
  2533. format: int64
  2534. valueSize:
  2535. type: integer
  2536. format: int64
  2537. keySchemaId:
  2538. deprecated: true
  2539. description: deprecated - wont be filled - use 'keyDeserializeProperties' field instead
  2540. type: string
  2541. valueSchemaId:
  2542. deprecated: true
  2543. description: deprecated - wont be filled - use 'valueDeserializeProperties' field instead
  2544. type: string
  2545. headersSize:
  2546. type: integer
  2547. format: int64
  2548. keySerde:
  2549. type: string
  2550. valueSerde:
  2551. type: string
  2552. keyDeserializeProperties:
  2553. additionalProperties:
  2554. type: object
  2555. valueDeserializeProperties:
  2556. additionalProperties:
  2557. type: object
  2558. required:
  2559. - partition
  2560. - offset
  2561. - timestamp
  2562. SeekType:
  2563. type: string
  2564. enum:
  2565. - BEGINNING
  2566. - OFFSET
  2567. - TIMESTAMP
  2568. - LATEST
  2569. MessageFilterType:
  2570. type: string
  2571. enum:
  2572. - STRING_CONTAINS
  2573. - GROOVY_SCRIPT
  2574. SeekDirection:
  2575. type: string
  2576. enum:
  2577. - FORWARD
  2578. - BACKWARD
  2579. - TAILING
  2580. default: FORWARD
  2581. Partition:
  2582. type: object
  2583. properties:
  2584. partition:
  2585. type: integer
  2586. leader:
  2587. type: integer
  2588. replicas:
  2589. type: array
  2590. items:
  2591. $ref: '#/components/schemas/Replica'
  2592. offsetMax:
  2593. type: integer
  2594. format: int64
  2595. offsetMin:
  2596. type: integer
  2597. format: int64
  2598. required:
  2599. - topic
  2600. - partition
  2601. - offsetMax
  2602. - offsetMin
  2603. ConsumerGroupTopicPartition:
  2604. type: object
  2605. properties:
  2606. topic:
  2607. type: string
  2608. partition:
  2609. type: integer
  2610. currentOffset:
  2611. type: integer
  2612. format: int64
  2613. endOffset:
  2614. type: integer
  2615. format: int64
  2616. messagesBehind:
  2617. type: integer
  2618. format: int64
  2619. description: null if consumer group has no offsets committed
  2620. consumerId:
  2621. type: string
  2622. host:
  2623. type: string
  2624. required:
  2625. - topic
  2626. - partition
  2627. ConsumerGroupDetails:
  2628. allOf:
  2629. - $ref: '#/components/schemas/ConsumerGroup'
  2630. - type: object
  2631. properties:
  2632. partitions:
  2633. type: array
  2634. items:
  2635. $ref: '#/components/schemas/ConsumerGroupTopicPartition'
  2636. Metric:
  2637. type: object
  2638. properties:
  2639. name:
  2640. type: string
  2641. labels:
  2642. type: string
  2643. additionalProperties:
  2644. type: string
  2645. value:
  2646. type: number
  2647. TopicLogdirs:
  2648. type: object
  2649. properties:
  2650. name:
  2651. type: string
  2652. partitions:
  2653. type: array
  2654. items:
  2655. $ref: '#/components/schemas/TopicPartitionLogdir'
  2656. BrokerTopicLogdirs:
  2657. type: object
  2658. properties:
  2659. name:
  2660. type: string
  2661. partitions:
  2662. type: array
  2663. items:
  2664. $ref: '#/components/schemas/BrokerTopicPartitionLogdir'
  2665. TopicPartitionLogdir:
  2666. type: object
  2667. properties:
  2668. partition:
  2669. type: integer
  2670. size:
  2671. type: integer
  2672. format: int64
  2673. offsetLag:
  2674. type: integer
  2675. format: int64
  2676. BrokerTopicPartitionLogdir:
  2677. allOf:
  2678. - $ref: '#/components/schemas/TopicPartitionLogdir'
  2679. - type: object
  2680. properties:
  2681. broker:
  2682. type: integer
  2683. SchemaSubject:
  2684. type: object
  2685. properties:
  2686. subject:
  2687. type: string
  2688. version:
  2689. type: string
  2690. id:
  2691. type: integer
  2692. schema:
  2693. type: string
  2694. compatibilityLevel:
  2695. type: string
  2696. schemaType:
  2697. $ref: '#/components/schemas/SchemaType'
  2698. required:
  2699. - id
  2700. - subject
  2701. - version
  2702. - schema
  2703. - compatibilityLevel
  2704. - schemaType
  2705. NewSchemaSubject:
  2706. type: object
  2707. description: should be set for creating/updating schema subject
  2708. properties:
  2709. subject:
  2710. type: string
  2711. schema:
  2712. type: string
  2713. schemaType:
  2714. $ref: '#/components/schemas/SchemaType'
  2715. # upon updating a schema, the type of existing schema can't be changed
  2716. required:
  2717. - subject
  2718. - schema
  2719. - schemaType
  2720. CompatibilityLevel:
  2721. type: object
  2722. properties:
  2723. compatibility:
  2724. type: string
  2725. enum:
  2726. - BACKWARD
  2727. - BACKWARD_TRANSITIVE
  2728. - FORWARD
  2729. - FORWARD_TRANSITIVE
  2730. - FULL
  2731. - FULL_TRANSITIVE
  2732. - NONE
  2733. required:
  2734. - compatibility
  2735. SchemaType:
  2736. type: string
  2737. description: upon updating a schema, the type of an existing schema can't be changed
  2738. enum:
  2739. - AVRO
  2740. - JSON
  2741. - PROTOBUF
  2742. CompatibilityCheckResponse:
  2743. type: object
  2744. properties:
  2745. isCompatible:
  2746. type: boolean
  2747. required:
  2748. - isCompatible
  2749. SchemaSubjectsResponse:
  2750. type: object
  2751. properties:
  2752. pageCount:
  2753. type: integer
  2754. schemas:
  2755. type: array
  2756. items:
  2757. $ref: '#/components/schemas/SchemaSubject'
  2758. Connect:
  2759. type: object
  2760. properties:
  2761. name:
  2762. type: string
  2763. address:
  2764. type: string
  2765. required:
  2766. - name
  2767. ConnectorConfig:
  2768. type: object
  2769. additionalProperties:
  2770. type: object
  2771. TaskId:
  2772. type: object
  2773. properties:
  2774. connector:
  2775. type: string
  2776. task:
  2777. type: integer
  2778. Task:
  2779. type: object
  2780. properties:
  2781. id:
  2782. $ref: '#/components/schemas/TaskId'
  2783. status:
  2784. $ref: '#/components/schemas/TaskStatus'
  2785. config:
  2786. $ref: '#/components/schemas/ConnectorConfig'
  2787. required:
  2788. - status
  2789. NewConnector:
  2790. type: object
  2791. properties:
  2792. name:
  2793. type: string
  2794. config:
  2795. $ref: '#/components/schemas/ConnectorConfig'
  2796. required:
  2797. - name
  2798. - config
  2799. Connector:
  2800. allOf:
  2801. - $ref: '#/components/schemas/NewConnector'
  2802. - type: object
  2803. properties:
  2804. tasks:
  2805. type: array
  2806. items:
  2807. $ref: '#/components/schemas/TaskId'
  2808. type:
  2809. $ref: '#/components/schemas/ConnectorType'
  2810. status:
  2811. $ref: '#/components/schemas/ConnectorStatus'
  2812. connect:
  2813. type: string
  2814. required:
  2815. - type
  2816. - status
  2817. - connect
  2818. ConnectorType:
  2819. type: string
  2820. enum:
  2821. - SOURCE
  2822. - SINK
  2823. ConsumerGroupOffsetsReset:
  2824. type: object
  2825. properties:
  2826. topic:
  2827. type: string
  2828. resetType:
  2829. $ref: '#/components/schemas/ConsumerGroupOffsetsResetType'
  2830. partitions:
  2831. type: array
  2832. items:
  2833. type: integer
  2834. description: list of target partitions, all partitions will be used if it is not set or empty
  2835. resetToTimestamp:
  2836. type: integer
  2837. format: int64
  2838. description: should be set if resetType is TIMESTAMP
  2839. partitionsOffsets:
  2840. type: array
  2841. items:
  2842. $ref: '#/components/schemas/PartitionOffset'
  2843. description: List of partition offsets to reset to, should be set when resetType is OFFSET
  2844. required:
  2845. - topic
  2846. - resetType
  2847. PartitionOffset:
  2848. type: object
  2849. properties:
  2850. partition:
  2851. type: integer
  2852. offset:
  2853. type: integer
  2854. format: int64
  2855. required:
  2856. - partition
  2857. ConsumerGroupOffsetsResetType:
  2858. type: string
  2859. enum:
  2860. - EARLIEST
  2861. - LATEST
  2862. - TIMESTAMP
  2863. - OFFSET
  2864. TaskStatus:
  2865. type: object
  2866. properties:
  2867. id:
  2868. type: integer
  2869. state:
  2870. $ref: '#/components/schemas/ConnectorTaskStatus'
  2871. worker_id:
  2872. type: string
  2873. trace:
  2874. type: string
  2875. required:
  2876. - id
  2877. - state
  2878. - worker_id
  2879. ConnectorStatus:
  2880. type: object
  2881. properties:
  2882. state:
  2883. $ref: '#/components/schemas/ConnectorState'
  2884. worker_id:
  2885. type: string
  2886. required:
  2887. - state
  2888. ConnectorTaskStatus:
  2889. type: string
  2890. enum:
  2891. - RUNNING
  2892. - FAILED
  2893. - PAUSED
  2894. - RESTARTING
  2895. - UNASSIGNED
  2896. ConnectorState:
  2897. type: string
  2898. enum:
  2899. - RUNNING
  2900. - FAILED
  2901. - PAUSED
  2902. - UNASSIGNED
  2903. - TASK_FAILED
  2904. ConnectorAction:
  2905. type: string
  2906. enum:
  2907. - RESTART
  2908. - RESTART_ALL_TASKS
  2909. - RESTART_FAILED_TASKS
  2910. - PAUSE
  2911. - RESUME
  2912. TaskAction:
  2913. type: string
  2914. enum:
  2915. - restart
  2916. ConnectorPlugin:
  2917. type: object
  2918. properties:
  2919. class:
  2920. type: string
  2921. ConnectorPluginConfigDefinition:
  2922. type: object
  2923. properties:
  2924. name:
  2925. type: string
  2926. type:
  2927. type: string
  2928. enum:
  2929. - BOOLEAN
  2930. - CLASS
  2931. - DOUBLE
  2932. - INT
  2933. - LIST
  2934. - LONG
  2935. - PASSWORD
  2936. - SHORT
  2937. - STRING
  2938. required:
  2939. type: boolean
  2940. default_value:
  2941. type: string
  2942. importance:
  2943. type: string
  2944. enum:
  2945. - LOW
  2946. - MEDIUM
  2947. - HIGH
  2948. documentation:
  2949. type: string
  2950. group:
  2951. type: string
  2952. width:
  2953. type: string
  2954. enum:
  2955. - SHORT
  2956. - MEDIUM
  2957. - LONG
  2958. - NONE
  2959. display_name:
  2960. type: string
  2961. dependents:
  2962. type: array
  2963. items:
  2964. type: string
  2965. order:
  2966. type: integer
  2967. ConnectorPluginConfigValue:
  2968. type: object
  2969. properties:
  2970. name:
  2971. type: string
  2972. value:
  2973. type: string
  2974. recommended_values:
  2975. type: array
  2976. items:
  2977. type: string
  2978. errors:
  2979. type: array
  2980. items:
  2981. type: string
  2982. visible:
  2983. type: boolean
  2984. ConnectorPluginConfig:
  2985. type: object
  2986. properties:
  2987. definition:
  2988. $ref: '#/components/schemas/ConnectorPluginConfigDefinition'
  2989. value:
  2990. $ref: '#/components/schemas/ConnectorPluginConfigValue'
  2991. ConnectorPluginConfigValidationResponse:
  2992. type: object
  2993. properties:
  2994. name:
  2995. type: string
  2996. error_count:
  2997. type: integer
  2998. groups:
  2999. type: array
  3000. items:
  3001. type: string
  3002. configs:
  3003. type: array
  3004. items:
  3005. $ref: '#/components/schemas/ConnectorPluginConfig'
  3006. KsqlCommandV2:
  3007. type: object
  3008. properties:
  3009. ksql:
  3010. type: string
  3011. streamsProperties:
  3012. type: object
  3013. additionalProperties:
  3014. type: string
  3015. required:
  3016. - ksql
  3017. KsqlCommandV2Response:
  3018. type: object
  3019. properties:
  3020. pipeId:
  3021. type: string
  3022. required:
  3023. - pipeId
  3024. KsqlTableDescription:
  3025. type: object
  3026. properties:
  3027. name:
  3028. type: string
  3029. topic:
  3030. type: string
  3031. keyFormat:
  3032. type: string
  3033. valueFormat:
  3034. type: string
  3035. isWindowed:
  3036. type: boolean
  3037. KsqlStreamDescription:
  3038. type: object
  3039. properties:
  3040. name:
  3041. type: string
  3042. topic:
  3043. type: string
  3044. keyFormat:
  3045. type: string
  3046. valueFormat:
  3047. type: string
  3048. KsqlResponse:
  3049. type: object
  3050. properties:
  3051. table:
  3052. $ref: '#/components/schemas/KsqlTableResponse'
  3053. KsqlTableResponse:
  3054. type: object
  3055. properties:
  3056. header:
  3057. type: string
  3058. columnNames:
  3059. type: array
  3060. items:
  3061. type: string
  3062. values:
  3063. type: array
  3064. items:
  3065. type: array
  3066. items:
  3067. type: object
  3068. FullConnectorInfo:
  3069. type: object
  3070. properties:
  3071. connect:
  3072. type: string
  3073. name:
  3074. type: string
  3075. connector_class:
  3076. type: string
  3077. type:
  3078. $ref: '#/components/schemas/ConnectorType'
  3079. topics:
  3080. type: array
  3081. items:
  3082. type: string
  3083. status:
  3084. $ref: '#/components/schemas/ConnectorStatus'
  3085. tasks_count:
  3086. type: integer
  3087. failed_tasks_count:
  3088. type: integer
  3089. required:
  3090. - name
  3091. - connect
  3092. - status
  3093. PartitionsIncrease:
  3094. type: object
  3095. properties:
  3096. totalPartitionsCount:
  3097. type: integer
  3098. minimum: 1
  3099. required:
  3100. - totalPartitionsCount
  3101. PartitionsIncreaseResponse:
  3102. type: object
  3103. properties:
  3104. totalPartitionsCount:
  3105. type: integer
  3106. topicName:
  3107. type: string
  3108. required:
  3109. - totalPartitionsCount
  3110. - topicName
  3111. ReplicationFactorChange:
  3112. type: object
  3113. properties:
  3114. totalReplicationFactor:
  3115. type: integer
  3116. required:
  3117. - totalReplicationFactor
  3118. ReplicationFactorChangeResponse:
  3119. type: object
  3120. properties:
  3121. totalReplicationFactor:
  3122. type: integer
  3123. topicName:
  3124. type: string
  3125. required:
  3126. - totalReplicationFactor
  3127. - topicName
  3128. BrokerConfigItem:
  3129. type: object
  3130. properties:
  3131. value:
  3132. type: string
  3133. BrokerConfig:
  3134. type: object
  3135. properties:
  3136. name:
  3137. type: string
  3138. value:
  3139. type: string
  3140. source:
  3141. $ref: '#/components/schemas/ConfigSource'
  3142. isSensitive:
  3143. type: boolean
  3144. isReadOnly:
  3145. type: boolean
  3146. synonyms:
  3147. type: array
  3148. items:
  3149. $ref: '#/components/schemas/ConfigSynonym'
  3150. required:
  3151. - name
  3152. - value
  3153. - source
  3154. - isSensitive
  3155. - isReadOnly
  3156. ConfigSource:
  3157. type: string
  3158. enum:
  3159. - DYNAMIC_TOPIC_CONFIG
  3160. - DYNAMIC_BROKER_LOGGER_CONFIG
  3161. - DYNAMIC_BROKER_CONFIG
  3162. - DYNAMIC_DEFAULT_BROKER_CONFIG
  3163. - STATIC_BROKER_CONFIG
  3164. - DEFAULT_CONFIG
  3165. - UNKNOWN
  3166. ConfigSynonym:
  3167. type: object
  3168. properties:
  3169. name:
  3170. type: string
  3171. value:
  3172. type: string
  3173. source:
  3174. $ref: '#/components/schemas/ConfigSource'
  3175. CleanUpPolicy:
  3176. type: string
  3177. enum:
  3178. - DELETE
  3179. - COMPACT
  3180. - COMPACT_DELETE
  3181. - UNKNOWN
  3182. AuthenticationInfo:
  3183. type: object
  3184. properties:
  3185. rbacEnabled:
  3186. type: boolean
  3187. description: true if role based access control is enabled and granular permission access is required
  3188. userInfo:
  3189. $ref: '#/components/schemas/UserInfo'
  3190. required:
  3191. - rbacEnabled
  3192. UserInfo:
  3193. type: object
  3194. properties:
  3195. username:
  3196. type: string
  3197. permissions:
  3198. type: array
  3199. items:
  3200. $ref: '#/components/schemas/UserPermission'
  3201. required:
  3202. - username
  3203. - permissions
  3204. UserPermission:
  3205. type: object
  3206. properties:
  3207. clusters:
  3208. type: array
  3209. items:
  3210. type: string
  3211. resource:
  3212. $ref: '#/components/schemas/ResourceType'
  3213. value:
  3214. type: string
  3215. actions:
  3216. type: array
  3217. items:
  3218. $ref: '#/components/schemas/Action'
  3219. required:
  3220. - clusters
  3221. - resource
  3222. - actions
  3223. Action:
  3224. type: string
  3225. enum:
  3226. - VIEW
  3227. - EDIT
  3228. - CREATE
  3229. - DELETE
  3230. - RESET_OFFSETS
  3231. - EXECUTE
  3232. - MODIFY_GLOBAL_COMPATIBILITY
  3233. - ANALYSIS_VIEW
  3234. - ANALYSIS_RUN
  3235. - MESSAGES_READ
  3236. - MESSAGES_PRODUCE
  3237. - MESSAGES_DELETE
  3238. ResourceType:
  3239. type: string
  3240. enum:
  3241. - APPLICATIONCONFIG
  3242. - CLUSTERCONFIG
  3243. - TOPIC
  3244. - CONSUMER
  3245. - SCHEMA
  3246. - CONNECT
  3247. - KSQL
  3248. - ACL
  3249. KafkaAcl:
  3250. type: object
  3251. required: [resourceType, resourceName, namePatternType, principal, host, operation, permission]
  3252. properties:
  3253. resourceType:
  3254. type: string
  3255. enum:
  3256. - UNKNOWN # Unknown operation, need to update mapping code on BE
  3257. - TOPIC
  3258. - GROUP
  3259. - CLUSTER
  3260. - TRANSACTIONAL_ID
  3261. - DELEGATION_TOKEN
  3262. - USER
  3263. resourceName:
  3264. type: string # "*" if acl can be applied to any resource of given type
  3265. namePatternType:
  3266. type: string
  3267. enum:
  3268. - LITERAL
  3269. - PREFIXED
  3270. principal:
  3271. type: string
  3272. host:
  3273. type: string # "*" if acl can be applied to any resource of given type
  3274. operation:
  3275. type: string
  3276. enum:
  3277. - UNKNOWN # Unknown operation, need to update mapping code on BE
  3278. - ALL # Cluster, Topic, Group
  3279. - READ # Topic, Group
  3280. - WRITE # Topic, TransactionalId
  3281. - CREATE # Cluster, Topic
  3282. - DELETE # Topic, Group
  3283. - ALTER # Cluster, Topic,
  3284. - DESCRIBE # Cluster, Topic, Group, TransactionalId, DelegationToken
  3285. - CLUSTER_ACTION # Cluster
  3286. - DESCRIBE_CONFIGS # Cluster, Topic
  3287. - ALTER_CONFIGS # Cluster, Topic
  3288. - IDEMPOTENT_WRITE # Cluster
  3289. - CREATE_TOKENS
  3290. - DESCRIBE_TOKENS
  3291. permission:
  3292. type: string
  3293. enum:
  3294. - ALLOW
  3295. - DENY
  3296. RestartRequest:
  3297. type: object
  3298. properties:
  3299. config:
  3300. $ref: '#/components/schemas/ApplicationConfig'
  3301. UploadedFileInfo:
  3302. type: object
  3303. required: [location]
  3304. properties:
  3305. location:
  3306. type: string
  3307. ApplicationConfigValidation:
  3308. type: object
  3309. properties:
  3310. clusters:
  3311. type: object
  3312. additionalProperties:
  3313. $ref: '#/components/schemas/ClusterConfigValidation'
  3314. ApplicationPropertyValidation:
  3315. type: object
  3316. required: [error]
  3317. properties:
  3318. error:
  3319. type: boolean
  3320. errorMessage:
  3321. type: string
  3322. description: Contains error message if error = true
  3323. ClusterConfigValidation:
  3324. type: object
  3325. required: [kafka]
  3326. properties:
  3327. kafka:
  3328. $ref: '#/components/schemas/ApplicationPropertyValidation'
  3329. schemaRegistry:
  3330. $ref: '#/components/schemas/ApplicationPropertyValidation'
  3331. kafkaConnects:
  3332. type: object
  3333. additionalProperties:
  3334. $ref: '#/components/schemas/ApplicationPropertyValidation'
  3335. ksqldb:
  3336. $ref: '#/components/schemas/ApplicationPropertyValidation'
  3337. ApplicationConfig:
  3338. type: object
  3339. properties:
  3340. properties:
  3341. type: object
  3342. properties:
  3343. auth:
  3344. type: object
  3345. properties:
  3346. type:
  3347. type: string
  3348. oauth2:
  3349. type: object
  3350. properties:
  3351. client:
  3352. type: object
  3353. additionalProperties:
  3354. type: object
  3355. properties:
  3356. provider:
  3357. type: string
  3358. clientId:
  3359. type: string
  3360. clientSecret:
  3361. type: string
  3362. clientName:
  3363. type: string
  3364. redirectUri:
  3365. type: string
  3366. authorizationGrantType:
  3367. type: string
  3368. issuerUri:
  3369. type: string
  3370. authorizationUri:
  3371. type: string
  3372. tokenUri:
  3373. type: string
  3374. userInfoUri:
  3375. type: string
  3376. jwkSetUri:
  3377. type: string
  3378. userNameAttribute:
  3379. type: string
  3380. scope:
  3381. type: array
  3382. items:
  3383. type: string
  3384. customParams:
  3385. type: object
  3386. additionalProperties:
  3387. type: string
  3388. rbac:
  3389. type: object
  3390. properties:
  3391. roles:
  3392. type: array
  3393. items:
  3394. type: object
  3395. properties:
  3396. name:
  3397. type: string
  3398. clusters:
  3399. type: array
  3400. items:
  3401. type: string
  3402. subjects:
  3403. type: array
  3404. items:
  3405. type: object
  3406. properties:
  3407. provider:
  3408. type: string
  3409. type:
  3410. type: string
  3411. value:
  3412. type: string
  3413. permissions:
  3414. type: array
  3415. items:
  3416. type: object
  3417. properties:
  3418. resource:
  3419. $ref: '#/components/schemas/ResourceType'
  3420. value:
  3421. type: string
  3422. actions:
  3423. type: array
  3424. items:
  3425. $ref: '#/components/schemas/Action'
  3426. kafka:
  3427. type: object
  3428. properties:
  3429. clusters:
  3430. type: array
  3431. items:
  3432. type: object
  3433. properties:
  3434. name:
  3435. type: string
  3436. bootstrapServers:
  3437. type: string
  3438. ssl:
  3439. type: object
  3440. properties:
  3441. truststoreLocation:
  3442. type: string
  3443. truststorePassword:
  3444. type: string
  3445. schemaRegistry:
  3446. type: string
  3447. schemaRegistryAuth:
  3448. type: object
  3449. properties:
  3450. username:
  3451. type: string
  3452. password:
  3453. type: string
  3454. schemaRegistrySsl:
  3455. type: object
  3456. properties:
  3457. keystoreLocation:
  3458. type: string
  3459. keystorePassword:
  3460. type: string
  3461. ksqldbServer:
  3462. type: string
  3463. ksqldbServerSsl:
  3464. type: object
  3465. properties:
  3466. keystoreLocation:
  3467. type: string
  3468. keystorePassword:
  3469. type: string
  3470. ksqldbServerAuth:
  3471. type: object
  3472. properties:
  3473. username:
  3474. type: string
  3475. password:
  3476. type: string
  3477. kafkaConnect:
  3478. type: array
  3479. items:
  3480. type: object
  3481. properties:
  3482. name:
  3483. type: string
  3484. address:
  3485. type: string
  3486. username:
  3487. type: string
  3488. password:
  3489. type: string
  3490. keystoreLocation:
  3491. type: string
  3492. keystorePassword:
  3493. type: string
  3494. metrics:
  3495. type: object
  3496. properties:
  3497. type:
  3498. type: string
  3499. port:
  3500. type: integer
  3501. format: int32
  3502. ssl:
  3503. type: boolean
  3504. username:
  3505. type: string
  3506. password:
  3507. type: string
  3508. keystoreLocation:
  3509. type: string
  3510. keystorePassword:
  3511. type: string
  3512. properties:
  3513. type: object
  3514. additionalProperties: true
  3515. readOnly:
  3516. type: boolean
  3517. disableLogDirsCollection:
  3518. type: boolean
  3519. serde:
  3520. type: array
  3521. items:
  3522. type: object
  3523. properties:
  3524. name:
  3525. type: string
  3526. className:
  3527. type: string
  3528. filePath:
  3529. type: string
  3530. properties:
  3531. type: object
  3532. additionalProperties: true
  3533. topicKeysPattern:
  3534. type: string
  3535. topicValuesPattern:
  3536. type: string
  3537. defaultKeySerde:
  3538. type: string
  3539. defaultValueSerde:
  3540. type: string
  3541. masking:
  3542. type: array
  3543. items:
  3544. type: object
  3545. properties:
  3546. type:
  3547. type: string
  3548. enum:
  3549. - REMOVE
  3550. - MASK
  3551. - REPLACE
  3552. fields:
  3553. type: array
  3554. items:
  3555. type: string
  3556. pattern:
  3557. type: array
  3558. items:
  3559. type: string
  3560. replacement:
  3561. type: string
  3562. topicKeysPattern:
  3563. type: string
  3564. topicValuesPattern:
  3565. type: string
  3566. pollingThrottleRate:
  3567. type: integer
  3568. format: int64