kafka-ui-api.yaml 91 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827
  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. - name: resourceType
  1692. in: query
  1693. required: false
  1694. schema:
  1695. $ref: '#/components/schemas/KafkaAclResourceType'
  1696. - name: resourceName
  1697. in: query
  1698. required: false
  1699. schema:
  1700. type: string
  1701. - name: namePatternType
  1702. in: query
  1703. required: false
  1704. schema:
  1705. $ref: '#/components/schemas/KafkaAclNamePatternType'
  1706. responses:
  1707. 200:
  1708. description: OK
  1709. content:
  1710. application/json:
  1711. schema:
  1712. type: array
  1713. items:
  1714. $ref: '#/components/schemas/KafkaAcl'
  1715. /api/clusters/{clusterName}/acl/csv:
  1716. get:
  1717. tags:
  1718. - Acls
  1719. summary: getAclAsCsv
  1720. operationId: getAclAsCsv
  1721. parameters:
  1722. - name: clusterName
  1723. in: path
  1724. required: true
  1725. schema:
  1726. type: string
  1727. responses:
  1728. 200:
  1729. description: OK
  1730. content:
  1731. text/plain:
  1732. schema:
  1733. type: string
  1734. post:
  1735. tags:
  1736. - Acls
  1737. summary: syncAclsCsv
  1738. operationId: syncAclsCsv
  1739. parameters:
  1740. - name: clusterName
  1741. in: path
  1742. required: true
  1743. schema:
  1744. type: string
  1745. requestBody:
  1746. content:
  1747. text/plain:
  1748. schema:
  1749. type: string
  1750. responses:
  1751. 200:
  1752. description: OK
  1753. /api/clusters/{clusterName}/acl:
  1754. post:
  1755. tags:
  1756. - Acls
  1757. summary: createAcl
  1758. operationId: createAcl
  1759. parameters:
  1760. - name: clusterName
  1761. in: path
  1762. required: true
  1763. schema:
  1764. type: string
  1765. requestBody:
  1766. content:
  1767. application/json:
  1768. schema:
  1769. $ref: '#/components/schemas/KafkaAcl'
  1770. responses:
  1771. 200:
  1772. description: OK
  1773. delete:
  1774. tags:
  1775. - Acls
  1776. summary: deleteAcl
  1777. operationId: deleteAcl
  1778. parameters:
  1779. - name: clusterName
  1780. in: path
  1781. required: true
  1782. schema:
  1783. type: string
  1784. requestBody:
  1785. content:
  1786. application/json:
  1787. schema:
  1788. $ref: '#/components/schemas/KafkaAcl'
  1789. responses:
  1790. 200:
  1791. description: OK
  1792. 404:
  1793. description: Acl not found
  1794. /api/authorization:
  1795. get:
  1796. tags:
  1797. - Authorization
  1798. summary: Get user authentication related info
  1799. operationId: getUserAuthInfo
  1800. responses:
  1801. 200:
  1802. description: OK
  1803. content:
  1804. application/json:
  1805. schema:
  1806. $ref: '#/components/schemas/AuthenticationInfo'
  1807. /api/info:
  1808. get:
  1809. tags:
  1810. - ApplicationConfig
  1811. summary: Gets application info
  1812. operationId: getApplicationInfo
  1813. responses:
  1814. 200:
  1815. description: OK
  1816. content:
  1817. application/json:
  1818. schema:
  1819. $ref: '#/components/schemas/ApplicationInfo'
  1820. /api/config:
  1821. get:
  1822. tags:
  1823. - ApplicationConfig
  1824. summary: Gets current application configuration
  1825. operationId: getCurrentConfig
  1826. responses:
  1827. 200:
  1828. description: OK
  1829. content:
  1830. application/json:
  1831. schema:
  1832. $ref: '#/components/schemas/ApplicationConfig'
  1833. put:
  1834. tags:
  1835. - ApplicationConfig
  1836. summary: Restarts application with specified configuration
  1837. operationId: restartWithConfig
  1838. requestBody:
  1839. content:
  1840. application/json:
  1841. schema:
  1842. $ref: '#/components/schemas/RestartRequest'
  1843. responses:
  1844. 200:
  1845. description: OK
  1846. /api/config/validated:
  1847. put:
  1848. tags:
  1849. - ApplicationConfig
  1850. summary: Restarts application with specified configuration
  1851. operationId: validateConfig
  1852. requestBody:
  1853. content:
  1854. application/json:
  1855. schema:
  1856. $ref: '#/components/schemas/ApplicationConfig'
  1857. responses:
  1858. 200:
  1859. description: OK
  1860. content:
  1861. application/json:
  1862. schema:
  1863. $ref: '#/components/schemas/ApplicationConfigValidation'
  1864. /api/config/relatedfiles:
  1865. post:
  1866. tags:
  1867. - ApplicationConfig
  1868. summary: Restarts application with specified configuration
  1869. operationId: uploadConfigRelatedFile
  1870. requestBody:
  1871. content:
  1872. multipart/form-data:
  1873. schema:
  1874. type: object
  1875. properties:
  1876. file:
  1877. type: string
  1878. format: binary
  1879. responses:
  1880. 200:
  1881. description: OK
  1882. content:
  1883. application/json:
  1884. schema:
  1885. $ref: '#/components/schemas/UploadedFileInfo'
  1886. components:
  1887. schemas:
  1888. TopicSerdeSuggestion:
  1889. type: object
  1890. properties:
  1891. key:
  1892. type: array
  1893. items:
  1894. $ref: '#/components/schemas/SerdeDescription'
  1895. value:
  1896. type: array
  1897. items:
  1898. $ref: '#/components/schemas/SerdeDescription'
  1899. SerdeDescription:
  1900. type: object
  1901. properties:
  1902. name:
  1903. type: string
  1904. description:
  1905. type: string
  1906. preferred:
  1907. 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."
  1908. type: boolean
  1909. schema:
  1910. type: string
  1911. additionalProperties:
  1912. type: object
  1913. additionalProperties:
  1914. type: object
  1915. SerdeUsage:
  1916. type: string
  1917. enum:
  1918. - SERIALIZE
  1919. - DESERIALIZE
  1920. ErrorResponse:
  1921. description: Error object that will be returned with 4XX and 5XX HTTP statuses
  1922. type: object
  1923. properties:
  1924. code:
  1925. type: integer
  1926. description: Internal error code (can be used for message formatting & localization on UI)
  1927. message:
  1928. type: string
  1929. description: Error message
  1930. timestamp:
  1931. type: number
  1932. description: Response unix timestamp in ms
  1933. requestId:
  1934. type: string
  1935. description: Unique server-defined request id for convenient debugging
  1936. fieldsErrors:
  1937. type: array
  1938. items:
  1939. $ref: '#/components/schemas/FieldError'
  1940. stackTrace:
  1941. type: string
  1942. FieldError:
  1943. type: object
  1944. properties:
  1945. fieldName:
  1946. type: string
  1947. description: Name of field that violated format
  1948. restrictions:
  1949. description: Field format violations description (ex. ["size must be between 0 and 20", "must be a well-formed email address"])
  1950. type: array
  1951. items:
  1952. type: string
  1953. MetricsCollectionError:
  1954. type: object
  1955. properties:
  1956. message:
  1957. type: string
  1958. stackTrace:
  1959. type: string
  1960. ApplicationInfo:
  1961. type: object
  1962. properties:
  1963. enabledFeatures:
  1964. type: array
  1965. items:
  1966. type: string
  1967. enum:
  1968. - DYNAMIC_CONFIG
  1969. build:
  1970. type: object
  1971. properties:
  1972. commitId:
  1973. type: string
  1974. version:
  1975. type: string
  1976. buildTime:
  1977. type: string
  1978. isLatestRelease:
  1979. type: boolean
  1980. latestRelease:
  1981. type: object
  1982. properties:
  1983. versionTag:
  1984. type: string
  1985. publishedAt:
  1986. type: string
  1987. htmlUrl:
  1988. type: string
  1989. Cluster:
  1990. type: object
  1991. properties:
  1992. name:
  1993. type: string
  1994. defaultCluster:
  1995. type: boolean
  1996. status:
  1997. $ref: '#/components/schemas/ServerStatus'
  1998. lastError:
  1999. $ref: '#/components/schemas/MetricsCollectionError'
  2000. brokerCount:
  2001. type: integer
  2002. onlinePartitionCount:
  2003. type: integer
  2004. topicCount:
  2005. type: integer
  2006. bytesInPerSec:
  2007. type: number
  2008. bytesOutPerSec:
  2009. type: number
  2010. readOnly:
  2011. type: boolean
  2012. version:
  2013. type: string
  2014. features:
  2015. type: array
  2016. items:
  2017. type: string
  2018. enum:
  2019. - SCHEMA_REGISTRY
  2020. - KAFKA_CONNECT
  2021. - KSQL_DB
  2022. - TOPIC_DELETION
  2023. - KAFKA_ACL_VIEW # get ACLs listing
  2024. - KAFKA_ACL_EDIT # create & delete ACLs
  2025. required:
  2026. - id
  2027. - name
  2028. - status
  2029. ServerStatus:
  2030. type: string
  2031. enum:
  2032. - online
  2033. - offline
  2034. - initializing
  2035. ClusterMetrics:
  2036. type: object
  2037. properties:
  2038. items:
  2039. type: array
  2040. items:
  2041. $ref: '#/components/schemas/Metric'
  2042. ClusterStats:
  2043. type: object
  2044. properties:
  2045. brokerCount:
  2046. type: integer
  2047. zooKeeperStatus:
  2048. type: integer
  2049. deprecated: true
  2050. activeControllers:
  2051. type: integer
  2052. description: Id of broker which is cluster's controller. null, if controller not known yet.
  2053. onlinePartitionCount:
  2054. type: integer
  2055. offlinePartitionCount:
  2056. type: integer
  2057. inSyncReplicasCount:
  2058. type: integer
  2059. outOfSyncReplicasCount:
  2060. type: integer
  2061. underReplicatedPartitionCount:
  2062. type: integer
  2063. diskUsage:
  2064. type: array
  2065. items:
  2066. $ref: '#/components/schemas/BrokerDiskUsage'
  2067. version:
  2068. type: string
  2069. BrokerDiskUsage:
  2070. type: object
  2071. properties:
  2072. brokerId:
  2073. type: integer
  2074. segmentSize:
  2075. type: integer
  2076. format: int64
  2077. segmentCount:
  2078. type: integer
  2079. required:
  2080. - brokerId
  2081. BrokerMetrics:
  2082. type: object
  2083. properties:
  2084. segmentSize:
  2085. type: integer
  2086. format: int64
  2087. segmentCount:
  2088. type: integer
  2089. metrics:
  2090. type: array
  2091. items:
  2092. $ref: '#/components/schemas/Metric'
  2093. BrokerLogdirs:
  2094. type: object
  2095. properties:
  2096. name:
  2097. type: string
  2098. error:
  2099. type: string
  2100. topics:
  2101. type: array
  2102. items:
  2103. $ref: '#/components/schemas/TopicLogdirs'
  2104. BrokersLogdirs:
  2105. type: object
  2106. properties:
  2107. name:
  2108. type: string
  2109. error:
  2110. type: string
  2111. topics:
  2112. type: array
  2113. items:
  2114. $ref: '#/components/schemas/BrokerTopicLogdirs'
  2115. TopicsResponse:
  2116. type: object
  2117. properties:
  2118. pageCount:
  2119. type: integer
  2120. topics:
  2121. type: array
  2122. items:
  2123. $ref: '#/components/schemas/Topic'
  2124. TopicColumnsToSort:
  2125. type: string
  2126. enum:
  2127. - NAME
  2128. - OUT_OF_SYNC_REPLICAS
  2129. - TOTAL_PARTITIONS
  2130. - REPLICATION_FACTOR
  2131. - SIZE
  2132. ConnectorColumnsToSort:
  2133. type: string
  2134. enum:
  2135. - NAME
  2136. - CONNECT
  2137. - TYPE
  2138. - STATUS
  2139. SortOrder:
  2140. type: string
  2141. enum:
  2142. - ASC
  2143. - DESC
  2144. Topic:
  2145. type: object
  2146. properties:
  2147. name:
  2148. type: string
  2149. internal:
  2150. type: boolean
  2151. partitionCount:
  2152. type: integer
  2153. replicationFactor:
  2154. type: integer
  2155. replicas:
  2156. type: integer
  2157. inSyncReplicas:
  2158. type: integer
  2159. segmentSize:
  2160. type: integer
  2161. format: int64
  2162. segmentCount:
  2163. type: integer
  2164. bytesInPerSec:
  2165. type: number
  2166. bytesOutPerSec:
  2167. type: number
  2168. underReplicatedPartitions:
  2169. type: integer
  2170. cleanUpPolicy:
  2171. $ref: '#/components/schemas/CleanUpPolicy'
  2172. partitions:
  2173. type: array
  2174. items:
  2175. $ref: "#/components/schemas/Partition"
  2176. required:
  2177. - name
  2178. TopicAnalysis:
  2179. type: object
  2180. description: "Represents analysis state. Note: 'progress' and 'result' fields are set exclusively depending on analysis state."
  2181. properties:
  2182. progress:
  2183. $ref: '#/components/schemas/TopicAnalysisProgress'
  2184. result:
  2185. $ref: '#/components/schemas/TopicAnalysisResult'
  2186. TopicAnalysisProgress:
  2187. type: object
  2188. properties:
  2189. startedAt:
  2190. type: integer
  2191. format: int64
  2192. completenessPercent:
  2193. type: number
  2194. msgsScanned:
  2195. type: integer
  2196. format: int64
  2197. bytesScanned:
  2198. type: integer
  2199. format: int64
  2200. TopicAnalysisResult:
  2201. type: object
  2202. properties:
  2203. startedAt:
  2204. type: integer
  2205. format: int64
  2206. finishedAt:
  2207. type: integer
  2208. format: int64
  2209. error:
  2210. type: string
  2211. totalStats:
  2212. $ref: '#/components/schemas/TopicAnalysisStats'
  2213. partitionStats:
  2214. type: array
  2215. items:
  2216. $ref: "#/components/schemas/TopicAnalysisStats"
  2217. TopicAnalysisStats:
  2218. type: object
  2219. properties:
  2220. partition:
  2221. type: integer
  2222. format: int32
  2223. description: "null if this is total stats"
  2224. totalMsgs:
  2225. type: integer
  2226. format: int64
  2227. minOffset:
  2228. type: integer
  2229. format: int64
  2230. maxOffset:
  2231. type: integer
  2232. format: int64
  2233. minTimestamp:
  2234. type: integer
  2235. format: int64
  2236. maxTimestamp:
  2237. type: integer
  2238. format: int64
  2239. nullKeys:
  2240. type: integer
  2241. format: int64
  2242. nullValues:
  2243. type: integer
  2244. format: int64
  2245. approxUniqKeys:
  2246. type: integer
  2247. format: int64
  2248. approxUniqValues:
  2249. type: integer
  2250. format: int64
  2251. keySize:
  2252. $ref: "#/components/schemas/TopicAnalysisSizeStats"
  2253. valueSize:
  2254. $ref: "#/components/schemas/TopicAnalysisSizeStats"
  2255. hourlyMsgCounts:
  2256. type: array
  2257. items:
  2258. type: object
  2259. properties:
  2260. hourStart:
  2261. type: integer
  2262. format: int64
  2263. count:
  2264. type: integer
  2265. format: int64
  2266. TopicAnalysisSizeStats:
  2267. type: object
  2268. description: "All sizes in bytes"
  2269. properties:
  2270. sum:
  2271. type: integer
  2272. format: int64
  2273. min:
  2274. type: integer
  2275. format: int64
  2276. max:
  2277. type: integer
  2278. format: int64
  2279. avg:
  2280. type: integer
  2281. format: int64
  2282. prctl50:
  2283. type: integer
  2284. format: int64
  2285. prctl75:
  2286. type: integer
  2287. format: int64
  2288. prctl95:
  2289. type: integer
  2290. format: int64
  2291. prctl99:
  2292. type: integer
  2293. format: int64
  2294. prctl999:
  2295. type: integer
  2296. format: int64
  2297. Replica:
  2298. type: object
  2299. properties:
  2300. broker:
  2301. type: integer
  2302. leader:
  2303. type: boolean
  2304. inSync:
  2305. type: boolean
  2306. TopicDetails:
  2307. type: object
  2308. properties:
  2309. name:
  2310. type: string
  2311. internal:
  2312. type: boolean
  2313. partitions:
  2314. type: array
  2315. items:
  2316. $ref: "#/components/schemas/Partition"
  2317. partitionCount:
  2318. type: integer
  2319. replicationFactor:
  2320. type: integer
  2321. replicas:
  2322. type: integer
  2323. inSyncReplicas:
  2324. type: integer
  2325. bytesInPerSec:
  2326. type: number
  2327. bytesOutPerSec:
  2328. type: number
  2329. segmentSize:
  2330. type: integer
  2331. format: int64
  2332. segmentCount:
  2333. type: integer
  2334. underReplicatedPartitions:
  2335. type: integer
  2336. cleanUpPolicy:
  2337. $ref: '#/components/schemas/CleanUpPolicy'
  2338. keySerde:
  2339. type: string
  2340. valueSerde:
  2341. type: string
  2342. required:
  2343. - name
  2344. TopicConfig:
  2345. type: object
  2346. properties:
  2347. name:
  2348. type: string
  2349. value:
  2350. type: string
  2351. defaultValue:
  2352. type: string
  2353. source:
  2354. $ref: "#/components/schemas/ConfigSource"
  2355. isSensitive:
  2356. type: boolean
  2357. isReadOnly:
  2358. type: boolean
  2359. synonyms:
  2360. type: array
  2361. items:
  2362. $ref: "#/components/schemas/ConfigSynonym"
  2363. doc:
  2364. type: string
  2365. required:
  2366. - name
  2367. TopicCreation:
  2368. type: object
  2369. properties:
  2370. name:
  2371. type: string
  2372. partitions:
  2373. type: integer
  2374. replicationFactor:
  2375. type: integer
  2376. configs:
  2377. type: object
  2378. additionalProperties:
  2379. type: string
  2380. required:
  2381. - name
  2382. - partitions
  2383. TopicUpdate:
  2384. type: object
  2385. properties:
  2386. configs:
  2387. type: object
  2388. additionalProperties:
  2389. type: string
  2390. required:
  2391. - configs
  2392. Broker:
  2393. type: object
  2394. properties:
  2395. id:
  2396. type: integer
  2397. host:
  2398. type: string
  2399. port:
  2400. type: integer
  2401. bytesInPerSec:
  2402. type: number
  2403. bytesOutPerSec:
  2404. type: number
  2405. partitionsLeader:
  2406. type: integer
  2407. partitions:
  2408. type: integer
  2409. inSyncPartitions:
  2410. type: integer
  2411. partitionsSkew:
  2412. type: number
  2413. leadersSkew:
  2414. type: number
  2415. required:
  2416. - id
  2417. BrokerLogdirUpdate:
  2418. type: object
  2419. properties:
  2420. topic:
  2421. type: string
  2422. partition:
  2423. type: integer
  2424. logDir:
  2425. type: string
  2426. ConsumerGroupState:
  2427. type: string
  2428. enum:
  2429. - UNKNOWN
  2430. - PREPARING_REBALANCE
  2431. - COMPLETING_REBALANCE
  2432. - STABLE
  2433. - DEAD
  2434. - EMPTY
  2435. MessageFormat:
  2436. type: string
  2437. enum:
  2438. - AVRO
  2439. - JSON
  2440. - PROTOBUF
  2441. - UNKNOWN
  2442. ConsumerGroup:
  2443. discriminator:
  2444. propertyName: inherit
  2445. mapping:
  2446. details: "#/components/schemas/ConsumerGroupDetails"
  2447. type: object
  2448. properties:
  2449. groupId:
  2450. type: string
  2451. members:
  2452. type: integer
  2453. topics:
  2454. type: integer
  2455. simple:
  2456. type: boolean
  2457. partitionAssignor:
  2458. type: string
  2459. state:
  2460. $ref: "#/components/schemas/ConsumerGroupState"
  2461. coordinator:
  2462. $ref: "#/components/schemas/Broker"
  2463. messagesBehind:
  2464. type: integer
  2465. format: int64
  2466. description: null if consumer group has no offsets committed
  2467. required:
  2468. - groupId
  2469. ConsumerGroupOrdering:
  2470. type: string
  2471. enum:
  2472. - NAME
  2473. - MEMBERS
  2474. - STATE
  2475. - MESSAGES_BEHIND
  2476. - TOPIC_NUM
  2477. ConsumerGroupsPageResponse:
  2478. type: object
  2479. properties:
  2480. pageCount:
  2481. type: integer
  2482. consumerGroups:
  2483. type: array
  2484. items:
  2485. $ref: '#/components/schemas/ConsumerGroup'
  2486. CreateTopicMessage:
  2487. type: object
  2488. properties:
  2489. partition:
  2490. type: integer
  2491. key:
  2492. type: string
  2493. nullable: true
  2494. headers:
  2495. type: object
  2496. additionalProperties:
  2497. type: string
  2498. content:
  2499. type: string
  2500. nullable: true
  2501. keySerde:
  2502. type: string
  2503. nullable: true
  2504. valueSerde:
  2505. type: string
  2506. nullable: true
  2507. required:
  2508. - partition
  2509. TopicMessageEvent:
  2510. type: object
  2511. properties:
  2512. type:
  2513. type: string
  2514. enum:
  2515. - PHASE
  2516. - MESSAGE
  2517. - CONSUMING
  2518. - DONE
  2519. - EMIT_THROTTLING
  2520. message:
  2521. $ref: "#/components/schemas/TopicMessage"
  2522. phase:
  2523. $ref: "#/components/schemas/TopicMessagePhase"
  2524. consuming:
  2525. $ref: "#/components/schemas/TopicMessageConsuming"
  2526. TopicMessagePhase:
  2527. type: object
  2528. properties:
  2529. name:
  2530. type: string
  2531. TimeStampFormat:
  2532. type: object
  2533. properties:
  2534. timeStampFormat:
  2535. type: string
  2536. TopicMessageConsuming:
  2537. type: object
  2538. properties:
  2539. bytesConsumed:
  2540. type: integer
  2541. format: int64
  2542. elapsedMs:
  2543. type: integer
  2544. format: int64
  2545. isCancelled:
  2546. type: boolean
  2547. messagesConsumed:
  2548. type: integer
  2549. filterApplyErrors:
  2550. type: integer
  2551. TopicMessage:
  2552. type: object
  2553. properties:
  2554. partition:
  2555. type: integer
  2556. offset:
  2557. type: integer
  2558. format: int64
  2559. timestamp:
  2560. type: string
  2561. format: date-time
  2562. timestampType:
  2563. type: string
  2564. enum:
  2565. - NO_TIMESTAMP_TYPE
  2566. - CREATE_TIME
  2567. - LOG_APPEND_TIME
  2568. key:
  2569. type: string
  2570. headers:
  2571. type: object
  2572. additionalProperties:
  2573. type: string
  2574. content:
  2575. type: string
  2576. keyFormat:
  2577. #deprecated - wont be filled - use 'keySerde' field instead
  2578. $ref: "#/components/schemas/MessageFormat"
  2579. valueFormat:
  2580. #deprecated - wont be filled - use 'valueSerde' field instead
  2581. $ref: "#/components/schemas/MessageFormat"
  2582. keySize:
  2583. type: integer
  2584. format: int64
  2585. valueSize:
  2586. type: integer
  2587. format: int64
  2588. keySchemaId:
  2589. deprecated: true
  2590. description: deprecated - wont be filled - use 'keyDeserializeProperties' field instead
  2591. type: string
  2592. valueSchemaId:
  2593. deprecated: true
  2594. description: deprecated - wont be filled - use 'valueDeserializeProperties' field instead
  2595. type: string
  2596. headersSize:
  2597. type: integer
  2598. format: int64
  2599. keySerde:
  2600. type: string
  2601. valueSerde:
  2602. type: string
  2603. keyDeserializeProperties:
  2604. additionalProperties:
  2605. type: object
  2606. valueDeserializeProperties:
  2607. additionalProperties:
  2608. type: object
  2609. required:
  2610. - partition
  2611. - offset
  2612. - timestamp
  2613. SeekType:
  2614. type: string
  2615. enum:
  2616. - BEGINNING
  2617. - OFFSET
  2618. - TIMESTAMP
  2619. - LATEST
  2620. MessageFilterType:
  2621. type: string
  2622. enum:
  2623. - STRING_CONTAINS
  2624. - GROOVY_SCRIPT
  2625. SeekDirection:
  2626. type: string
  2627. enum:
  2628. - FORWARD
  2629. - BACKWARD
  2630. - TAILING
  2631. default: FORWARD
  2632. Partition:
  2633. type: object
  2634. properties:
  2635. partition:
  2636. type: integer
  2637. leader:
  2638. type: integer
  2639. replicas:
  2640. type: array
  2641. items:
  2642. $ref: '#/components/schemas/Replica'
  2643. offsetMax:
  2644. type: integer
  2645. format: int64
  2646. offsetMin:
  2647. type: integer
  2648. format: int64
  2649. required:
  2650. - topic
  2651. - partition
  2652. - offsetMax
  2653. - offsetMin
  2654. ConsumerGroupTopicPartition:
  2655. type: object
  2656. properties:
  2657. topic:
  2658. type: string
  2659. partition:
  2660. type: integer
  2661. currentOffset:
  2662. type: integer
  2663. format: int64
  2664. endOffset:
  2665. type: integer
  2666. format: int64
  2667. messagesBehind:
  2668. type: integer
  2669. format: int64
  2670. description: null if consumer group has no offsets committed
  2671. consumerId:
  2672. type: string
  2673. host:
  2674. type: string
  2675. required:
  2676. - topic
  2677. - partition
  2678. ConsumerGroupDetails:
  2679. allOf:
  2680. - $ref: '#/components/schemas/ConsumerGroup'
  2681. - type: object
  2682. properties:
  2683. partitions:
  2684. type: array
  2685. items:
  2686. $ref: '#/components/schemas/ConsumerGroupTopicPartition'
  2687. Metric:
  2688. type: object
  2689. properties:
  2690. name:
  2691. type: string
  2692. labels:
  2693. type: string
  2694. additionalProperties:
  2695. type: string
  2696. value:
  2697. type: number
  2698. TopicLogdirs:
  2699. type: object
  2700. properties:
  2701. name:
  2702. type: string
  2703. partitions:
  2704. type: array
  2705. items:
  2706. $ref: '#/components/schemas/TopicPartitionLogdir'
  2707. BrokerTopicLogdirs:
  2708. type: object
  2709. properties:
  2710. name:
  2711. type: string
  2712. partitions:
  2713. type: array
  2714. items:
  2715. $ref: '#/components/schemas/BrokerTopicPartitionLogdir'
  2716. TopicPartitionLogdir:
  2717. type: object
  2718. properties:
  2719. partition:
  2720. type: integer
  2721. size:
  2722. type: integer
  2723. format: int64
  2724. offsetLag:
  2725. type: integer
  2726. format: int64
  2727. BrokerTopicPartitionLogdir:
  2728. allOf:
  2729. - $ref: '#/components/schemas/TopicPartitionLogdir'
  2730. - type: object
  2731. properties:
  2732. broker:
  2733. type: integer
  2734. SchemaSubject:
  2735. type: object
  2736. properties:
  2737. subject:
  2738. type: string
  2739. version:
  2740. type: string
  2741. id:
  2742. type: integer
  2743. schema:
  2744. type: string
  2745. compatibilityLevel:
  2746. type: string
  2747. schemaType:
  2748. $ref: '#/components/schemas/SchemaType'
  2749. required:
  2750. - id
  2751. - subject
  2752. - version
  2753. - schema
  2754. - compatibilityLevel
  2755. - schemaType
  2756. NewSchemaSubject:
  2757. type: object
  2758. description: should be set for creating/updating schema subject
  2759. properties:
  2760. subject:
  2761. type: string
  2762. schema:
  2763. type: string
  2764. schemaType:
  2765. $ref: '#/components/schemas/SchemaType'
  2766. # upon updating a schema, the type of existing schema can't be changed
  2767. required:
  2768. - subject
  2769. - schema
  2770. - schemaType
  2771. CompatibilityLevel:
  2772. type: object
  2773. properties:
  2774. compatibility:
  2775. type: string
  2776. enum:
  2777. - BACKWARD
  2778. - BACKWARD_TRANSITIVE
  2779. - FORWARD
  2780. - FORWARD_TRANSITIVE
  2781. - FULL
  2782. - FULL_TRANSITIVE
  2783. - NONE
  2784. required:
  2785. - compatibility
  2786. SchemaType:
  2787. type: string
  2788. description: upon updating a schema, the type of an existing schema can't be changed
  2789. enum:
  2790. - AVRO
  2791. - JSON
  2792. - PROTOBUF
  2793. CompatibilityCheckResponse:
  2794. type: object
  2795. properties:
  2796. isCompatible:
  2797. type: boolean
  2798. required:
  2799. - isCompatible
  2800. SchemaSubjectsResponse:
  2801. type: object
  2802. properties:
  2803. pageCount:
  2804. type: integer
  2805. schemas:
  2806. type: array
  2807. items:
  2808. $ref: '#/components/schemas/SchemaSubject'
  2809. Connect:
  2810. type: object
  2811. properties:
  2812. name:
  2813. type: string
  2814. address:
  2815. type: string
  2816. required:
  2817. - name
  2818. ConnectorConfig:
  2819. type: object
  2820. additionalProperties:
  2821. type: object
  2822. TaskId:
  2823. type: object
  2824. properties:
  2825. connector:
  2826. type: string
  2827. task:
  2828. type: integer
  2829. Task:
  2830. type: object
  2831. properties:
  2832. id:
  2833. $ref: '#/components/schemas/TaskId'
  2834. status:
  2835. $ref: '#/components/schemas/TaskStatus'
  2836. config:
  2837. $ref: '#/components/schemas/ConnectorConfig'
  2838. required:
  2839. - status
  2840. NewConnector:
  2841. type: object
  2842. properties:
  2843. name:
  2844. type: string
  2845. config:
  2846. $ref: '#/components/schemas/ConnectorConfig'
  2847. required:
  2848. - name
  2849. - config
  2850. Connector:
  2851. allOf:
  2852. - $ref: '#/components/schemas/NewConnector'
  2853. - type: object
  2854. properties:
  2855. tasks:
  2856. type: array
  2857. items:
  2858. $ref: '#/components/schemas/TaskId'
  2859. type:
  2860. $ref: '#/components/schemas/ConnectorType'
  2861. status:
  2862. $ref: '#/components/schemas/ConnectorStatus'
  2863. connect:
  2864. type: string
  2865. required:
  2866. - type
  2867. - status
  2868. - connect
  2869. ConnectorType:
  2870. type: string
  2871. enum:
  2872. - SOURCE
  2873. - SINK
  2874. ConsumerGroupOffsetsReset:
  2875. type: object
  2876. properties:
  2877. topic:
  2878. type: string
  2879. resetType:
  2880. $ref: '#/components/schemas/ConsumerGroupOffsetsResetType'
  2881. partitions:
  2882. type: array
  2883. items:
  2884. type: integer
  2885. description: list of target partitions, all partitions will be used if it is not set or empty
  2886. resetToTimestamp:
  2887. type: integer
  2888. format: int64
  2889. description: should be set if resetType is TIMESTAMP
  2890. partitionsOffsets:
  2891. type: array
  2892. items:
  2893. $ref: '#/components/schemas/PartitionOffset'
  2894. description: List of partition offsets to reset to, should be set when resetType is OFFSET
  2895. required:
  2896. - topic
  2897. - resetType
  2898. PartitionOffset:
  2899. type: object
  2900. properties:
  2901. partition:
  2902. type: integer
  2903. offset:
  2904. type: integer
  2905. format: int64
  2906. required:
  2907. - partition
  2908. ConsumerGroupOffsetsResetType:
  2909. type: string
  2910. enum:
  2911. - EARLIEST
  2912. - LATEST
  2913. - TIMESTAMP
  2914. - OFFSET
  2915. TaskStatus:
  2916. type: object
  2917. properties:
  2918. id:
  2919. type: integer
  2920. state:
  2921. $ref: '#/components/schemas/ConnectorTaskStatus'
  2922. worker_id:
  2923. type: string
  2924. trace:
  2925. type: string
  2926. required:
  2927. - id
  2928. - state
  2929. - worker_id
  2930. ConnectorStatus:
  2931. type: object
  2932. properties:
  2933. state:
  2934. $ref: '#/components/schemas/ConnectorState'
  2935. worker_id:
  2936. type: string
  2937. required:
  2938. - state
  2939. ConnectorTaskStatus:
  2940. type: string
  2941. enum:
  2942. - RUNNING
  2943. - FAILED
  2944. - PAUSED
  2945. - RESTARTING
  2946. - UNASSIGNED
  2947. ConnectorState:
  2948. type: string
  2949. enum:
  2950. - RUNNING
  2951. - FAILED
  2952. - PAUSED
  2953. - UNASSIGNED
  2954. - TASK_FAILED
  2955. ConnectorAction:
  2956. type: string
  2957. enum:
  2958. - RESTART
  2959. - RESTART_ALL_TASKS
  2960. - RESTART_FAILED_TASKS
  2961. - PAUSE
  2962. - RESUME
  2963. TaskAction:
  2964. type: string
  2965. enum:
  2966. - restart
  2967. ConnectorPlugin:
  2968. type: object
  2969. properties:
  2970. class:
  2971. type: string
  2972. ConnectorPluginConfigDefinition:
  2973. type: object
  2974. properties:
  2975. name:
  2976. type: string
  2977. type:
  2978. type: string
  2979. enum:
  2980. - BOOLEAN
  2981. - CLASS
  2982. - DOUBLE
  2983. - INT
  2984. - LIST
  2985. - LONG
  2986. - PASSWORD
  2987. - SHORT
  2988. - STRING
  2989. required:
  2990. type: boolean
  2991. default_value:
  2992. type: string
  2993. importance:
  2994. type: string
  2995. enum:
  2996. - LOW
  2997. - MEDIUM
  2998. - HIGH
  2999. documentation:
  3000. type: string
  3001. group:
  3002. type: string
  3003. width:
  3004. type: string
  3005. enum:
  3006. - SHORT
  3007. - MEDIUM
  3008. - LONG
  3009. - NONE
  3010. display_name:
  3011. type: string
  3012. dependents:
  3013. type: array
  3014. items:
  3015. type: string
  3016. order:
  3017. type: integer
  3018. ConnectorPluginConfigValue:
  3019. type: object
  3020. properties:
  3021. name:
  3022. type: string
  3023. value:
  3024. type: string
  3025. recommended_values:
  3026. type: array
  3027. items:
  3028. type: string
  3029. errors:
  3030. type: array
  3031. items:
  3032. type: string
  3033. visible:
  3034. type: boolean
  3035. ConnectorPluginConfig:
  3036. type: object
  3037. properties:
  3038. definition:
  3039. $ref: '#/components/schemas/ConnectorPluginConfigDefinition'
  3040. value:
  3041. $ref: '#/components/schemas/ConnectorPluginConfigValue'
  3042. ConnectorPluginConfigValidationResponse:
  3043. type: object
  3044. properties:
  3045. name:
  3046. type: string
  3047. error_count:
  3048. type: integer
  3049. groups:
  3050. type: array
  3051. items:
  3052. type: string
  3053. configs:
  3054. type: array
  3055. items:
  3056. $ref: '#/components/schemas/ConnectorPluginConfig'
  3057. KsqlCommandV2:
  3058. type: object
  3059. properties:
  3060. ksql:
  3061. type: string
  3062. streamsProperties:
  3063. type: object
  3064. additionalProperties:
  3065. type: string
  3066. required:
  3067. - ksql
  3068. KsqlCommandV2Response:
  3069. type: object
  3070. properties:
  3071. pipeId:
  3072. type: string
  3073. required:
  3074. - pipeId
  3075. KsqlTableDescription:
  3076. type: object
  3077. properties:
  3078. name:
  3079. type: string
  3080. topic:
  3081. type: string
  3082. keyFormat:
  3083. type: string
  3084. valueFormat:
  3085. type: string
  3086. isWindowed:
  3087. type: boolean
  3088. KsqlStreamDescription:
  3089. type: object
  3090. properties:
  3091. name:
  3092. type: string
  3093. topic:
  3094. type: string
  3095. keyFormat:
  3096. type: string
  3097. valueFormat:
  3098. type: string
  3099. KsqlResponse:
  3100. type: object
  3101. properties:
  3102. table:
  3103. $ref: '#/components/schemas/KsqlTableResponse'
  3104. KsqlTableResponse:
  3105. type: object
  3106. properties:
  3107. header:
  3108. type: string
  3109. columnNames:
  3110. type: array
  3111. items:
  3112. type: string
  3113. values:
  3114. type: array
  3115. items:
  3116. type: array
  3117. items:
  3118. type: object
  3119. FullConnectorInfo:
  3120. type: object
  3121. properties:
  3122. connect:
  3123. type: string
  3124. name:
  3125. type: string
  3126. connector_class:
  3127. type: string
  3128. type:
  3129. $ref: '#/components/schemas/ConnectorType'
  3130. topics:
  3131. type: array
  3132. items:
  3133. type: string
  3134. status:
  3135. $ref: '#/components/schemas/ConnectorStatus'
  3136. tasks_count:
  3137. type: integer
  3138. failed_tasks_count:
  3139. type: integer
  3140. required:
  3141. - name
  3142. - connect
  3143. - status
  3144. PartitionsIncrease:
  3145. type: object
  3146. properties:
  3147. totalPartitionsCount:
  3148. type: integer
  3149. minimum: 1
  3150. required:
  3151. - totalPartitionsCount
  3152. PartitionsIncreaseResponse:
  3153. type: object
  3154. properties:
  3155. totalPartitionsCount:
  3156. type: integer
  3157. topicName:
  3158. type: string
  3159. required:
  3160. - totalPartitionsCount
  3161. - topicName
  3162. ReplicationFactorChange:
  3163. type: object
  3164. properties:
  3165. totalReplicationFactor:
  3166. type: integer
  3167. required:
  3168. - totalReplicationFactor
  3169. ReplicationFactorChangeResponse:
  3170. type: object
  3171. properties:
  3172. totalReplicationFactor:
  3173. type: integer
  3174. topicName:
  3175. type: string
  3176. required:
  3177. - totalReplicationFactor
  3178. - topicName
  3179. BrokerConfigItem:
  3180. type: object
  3181. properties:
  3182. value:
  3183. type: string
  3184. BrokerConfig:
  3185. type: object
  3186. properties:
  3187. name:
  3188. type: string
  3189. value:
  3190. type: string
  3191. source:
  3192. $ref: '#/components/schemas/ConfigSource'
  3193. isSensitive:
  3194. type: boolean
  3195. isReadOnly:
  3196. type: boolean
  3197. synonyms:
  3198. type: array
  3199. items:
  3200. $ref: '#/components/schemas/ConfigSynonym'
  3201. required:
  3202. - name
  3203. - value
  3204. - source
  3205. - isSensitive
  3206. - isReadOnly
  3207. ConfigSource:
  3208. type: string
  3209. enum:
  3210. - DYNAMIC_TOPIC_CONFIG
  3211. - DYNAMIC_BROKER_LOGGER_CONFIG
  3212. - DYNAMIC_BROKER_CONFIG
  3213. - DYNAMIC_DEFAULT_BROKER_CONFIG
  3214. - STATIC_BROKER_CONFIG
  3215. - DEFAULT_CONFIG
  3216. - UNKNOWN
  3217. ConfigSynonym:
  3218. type: object
  3219. properties:
  3220. name:
  3221. type: string
  3222. value:
  3223. type: string
  3224. source:
  3225. $ref: '#/components/schemas/ConfigSource'
  3226. CleanUpPolicy:
  3227. type: string
  3228. enum:
  3229. - DELETE
  3230. - COMPACT
  3231. - COMPACT_DELETE
  3232. - UNKNOWN
  3233. AuthenticationInfo:
  3234. type: object
  3235. properties:
  3236. rbacEnabled:
  3237. type: boolean
  3238. description: true if role based access control is enabled and granular permission access is required
  3239. userInfo:
  3240. $ref: '#/components/schemas/UserInfo'
  3241. required:
  3242. - rbacEnabled
  3243. UserInfo:
  3244. type: object
  3245. properties:
  3246. username:
  3247. type: string
  3248. permissions:
  3249. type: array
  3250. items:
  3251. $ref: '#/components/schemas/UserPermission'
  3252. required:
  3253. - username
  3254. - permissions
  3255. UserPermission:
  3256. type: object
  3257. properties:
  3258. clusters:
  3259. type: array
  3260. items:
  3261. type: string
  3262. resource:
  3263. $ref: '#/components/schemas/ResourceType'
  3264. value:
  3265. type: string
  3266. actions:
  3267. type: array
  3268. items:
  3269. $ref: '#/components/schemas/Action'
  3270. required:
  3271. - clusters
  3272. - resource
  3273. - actions
  3274. Action:
  3275. type: string
  3276. enum:
  3277. - VIEW
  3278. - EDIT
  3279. - CREATE
  3280. - DELETE
  3281. - RESET_OFFSETS
  3282. - EXECUTE
  3283. - MODIFY_GLOBAL_COMPATIBILITY
  3284. - ANALYSIS_VIEW
  3285. - ANALYSIS_RUN
  3286. - MESSAGES_READ
  3287. - MESSAGES_PRODUCE
  3288. - MESSAGES_DELETE
  3289. - RESTART
  3290. ResourceType:
  3291. type: string
  3292. enum:
  3293. - APPLICATIONCONFIG
  3294. - CLUSTERCONFIG
  3295. - TOPIC
  3296. - CONSUMER
  3297. - SCHEMA
  3298. - CONNECT
  3299. - KSQL
  3300. - ACL
  3301. KafkaAcl:
  3302. type: object
  3303. required: [resourceType, resourceName, namePatternType, principal, host, operation, permission]
  3304. properties:
  3305. resourceType:
  3306. $ref: '#/components/schemas/KafkaAclResourceType'
  3307. resourceName:
  3308. type: string # "*" if acl can be applied to any resource of given type
  3309. namePatternType:
  3310. $ref: '#/components/schemas/KafkaAclNamePatternType'
  3311. principal:
  3312. type: string
  3313. host:
  3314. type: string # "*" if acl can be applied to any resource of given type
  3315. operation:
  3316. type: string
  3317. enum:
  3318. - UNKNOWN # Unknown operation, need to update mapping code on BE
  3319. - ALL # Cluster, Topic, Group
  3320. - READ # Topic, Group
  3321. - WRITE # Topic, TransactionalId
  3322. - CREATE # Cluster, Topic
  3323. - DELETE # Topic, Group
  3324. - ALTER # Cluster, Topic,
  3325. - DESCRIBE # Cluster, Topic, Group, TransactionalId, DelegationToken
  3326. - CLUSTER_ACTION # Cluster
  3327. - DESCRIBE_CONFIGS # Cluster, Topic
  3328. - ALTER_CONFIGS # Cluster, Topic
  3329. - IDEMPOTENT_WRITE # Cluster
  3330. - CREATE_TOKENS
  3331. - DESCRIBE_TOKENS
  3332. permission:
  3333. type: string
  3334. enum:
  3335. - ALLOW
  3336. - DENY
  3337. KafkaAclResourceType:
  3338. type: string
  3339. enum:
  3340. - UNKNOWN # Unknown operation, need to update mapping code on BE
  3341. - TOPIC
  3342. - GROUP
  3343. - CLUSTER
  3344. - TRANSACTIONAL_ID
  3345. - DELEGATION_TOKEN
  3346. - USER
  3347. KafkaAclNamePatternType:
  3348. type: string
  3349. enum:
  3350. - MATCH
  3351. - LITERAL
  3352. - PREFIXED
  3353. RestartRequest:
  3354. type: object
  3355. properties:
  3356. config:
  3357. $ref: '#/components/schemas/ApplicationConfig'
  3358. UploadedFileInfo:
  3359. type: object
  3360. required: [location]
  3361. properties:
  3362. location:
  3363. type: string
  3364. ApplicationConfigValidation:
  3365. type: object
  3366. properties:
  3367. clusters:
  3368. type: object
  3369. additionalProperties:
  3370. $ref: '#/components/schemas/ClusterConfigValidation'
  3371. ApplicationPropertyValidation:
  3372. type: object
  3373. required: [error]
  3374. properties:
  3375. error:
  3376. type: boolean
  3377. errorMessage:
  3378. type: string
  3379. description: Contains error message if error = true
  3380. ClusterConfigValidation:
  3381. type: object
  3382. required: [kafka]
  3383. properties:
  3384. kafka:
  3385. $ref: '#/components/schemas/ApplicationPropertyValidation'
  3386. schemaRegistry:
  3387. $ref: '#/components/schemas/ApplicationPropertyValidation'
  3388. kafkaConnects:
  3389. type: object
  3390. additionalProperties:
  3391. $ref: '#/components/schemas/ApplicationPropertyValidation'
  3392. ksqldb:
  3393. $ref: '#/components/schemas/ApplicationPropertyValidation'
  3394. ApplicationConfig:
  3395. type: object
  3396. properties:
  3397. properties:
  3398. type: object
  3399. properties:
  3400. auth:
  3401. type: object
  3402. properties:
  3403. type:
  3404. type: string
  3405. oauth2:
  3406. type: object
  3407. properties:
  3408. client:
  3409. type: object
  3410. additionalProperties:
  3411. type: object
  3412. properties:
  3413. provider:
  3414. type: string
  3415. clientId:
  3416. type: string
  3417. clientSecret:
  3418. type: string
  3419. clientName:
  3420. type: string
  3421. redirectUri:
  3422. type: string
  3423. authorizationGrantType:
  3424. type: string
  3425. issuerUri:
  3426. type: string
  3427. authorizationUri:
  3428. type: string
  3429. tokenUri:
  3430. type: string
  3431. userInfoUri:
  3432. type: string
  3433. jwkSetUri:
  3434. type: string
  3435. userNameAttribute:
  3436. type: string
  3437. scope:
  3438. type: array
  3439. items:
  3440. type: string
  3441. customParams:
  3442. type: object
  3443. additionalProperties:
  3444. type: string
  3445. rbac:
  3446. type: object
  3447. properties:
  3448. roles:
  3449. type: array
  3450. items:
  3451. type: object
  3452. properties:
  3453. name:
  3454. type: string
  3455. clusters:
  3456. type: array
  3457. items:
  3458. type: string
  3459. subjects:
  3460. type: array
  3461. items:
  3462. type: object
  3463. properties:
  3464. provider:
  3465. type: string
  3466. type:
  3467. type: string
  3468. value:
  3469. type: string
  3470. permissions:
  3471. type: array
  3472. items:
  3473. type: object
  3474. properties:
  3475. resource:
  3476. $ref: '#/components/schemas/ResourceType'
  3477. value:
  3478. type: string
  3479. actions:
  3480. type: array
  3481. items:
  3482. $ref: '#/components/schemas/Action'
  3483. webclient:
  3484. type: object
  3485. properties:
  3486. maxInMemoryBufferSize:
  3487. type: string
  3488. description: "examples: 20, 12KB, 5MB"
  3489. kafka:
  3490. type: object
  3491. properties:
  3492. polling:
  3493. type: object
  3494. properties:
  3495. pollTimeoutMs:
  3496. type: integer
  3497. partitionPollTimeout:
  3498. type: integer
  3499. noDataEmptyPolls:
  3500. type: integer
  3501. maxPageSize:
  3502. type: integer
  3503. defaultPageSize:
  3504. type: integer
  3505. adminClientTimeout:
  3506. type: integer
  3507. internalTopicPrefix:
  3508. type: string
  3509. clusters:
  3510. type: array
  3511. items:
  3512. type: object
  3513. properties:
  3514. name:
  3515. type: string
  3516. bootstrapServers:
  3517. type: string
  3518. ssl:
  3519. type: object
  3520. properties:
  3521. truststoreLocation:
  3522. type: string
  3523. truststorePassword:
  3524. type: string
  3525. schemaRegistry:
  3526. type: string
  3527. schemaRegistryAuth:
  3528. type: object
  3529. properties:
  3530. username:
  3531. type: string
  3532. password:
  3533. type: string
  3534. schemaRegistrySsl:
  3535. type: object
  3536. properties:
  3537. keystoreLocation:
  3538. type: string
  3539. keystorePassword:
  3540. type: string
  3541. ksqldbServer:
  3542. type: string
  3543. ksqldbServerSsl:
  3544. type: object
  3545. properties:
  3546. keystoreLocation:
  3547. type: string
  3548. keystorePassword:
  3549. type: string
  3550. ksqldbServerAuth:
  3551. type: object
  3552. properties:
  3553. username:
  3554. type: string
  3555. password:
  3556. type: string
  3557. kafkaConnect:
  3558. type: array
  3559. items:
  3560. type: object
  3561. properties:
  3562. name:
  3563. type: string
  3564. address:
  3565. type: string
  3566. username:
  3567. type: string
  3568. password:
  3569. type: string
  3570. keystoreLocation:
  3571. type: string
  3572. keystorePassword:
  3573. type: string
  3574. metrics:
  3575. type: object
  3576. properties:
  3577. type:
  3578. type: string
  3579. port:
  3580. type: integer
  3581. format: int32
  3582. ssl:
  3583. type: boolean
  3584. username:
  3585. type: string
  3586. password:
  3587. type: string
  3588. keystoreLocation:
  3589. type: string
  3590. keystorePassword:
  3591. type: string
  3592. properties:
  3593. type: object
  3594. additionalProperties: true
  3595. readOnly:
  3596. type: boolean
  3597. disableLogDirsCollection:
  3598. type: boolean
  3599. serde:
  3600. type: array
  3601. items:
  3602. type: object
  3603. properties:
  3604. name:
  3605. type: string
  3606. className:
  3607. type: string
  3608. filePath:
  3609. type: string
  3610. properties:
  3611. type: object
  3612. additionalProperties: true
  3613. topicKeysPattern:
  3614. type: string
  3615. topicValuesPattern:
  3616. type: string
  3617. defaultKeySerde:
  3618. type: string
  3619. defaultValueSerde:
  3620. type: string
  3621. masking:
  3622. type: array
  3623. items:
  3624. type: object
  3625. properties:
  3626. type:
  3627. type: string
  3628. enum:
  3629. - REMOVE
  3630. - MASK
  3631. - REPLACE
  3632. fields:
  3633. type: array
  3634. items:
  3635. type: string
  3636. fieldsNamePattern:
  3637. type: string
  3638. maskingCharsReplacement:
  3639. type: array
  3640. items:
  3641. type: string
  3642. replacement:
  3643. type: string
  3644. topicKeysPattern:
  3645. type: string
  3646. topicValuesPattern:
  3647. type: string
  3648. pollingThrottleRate:
  3649. type: integer
  3650. format: int64