kafka-ui-api.yaml 91 KB

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