kafka-ui-api.yaml 94 KB

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