kafka-ui-api.yaml 89 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726
  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}/smartfilters:
  725. post:
  726. tags:
  727. - Messages
  728. summary: registerFilter
  729. operationId: registerFilter
  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. requestBody:
  742. content:
  743. application/json:
  744. schema:
  745. $ref: '#/components/schemas/MessageFilterRegistration'
  746. responses:
  747. 200:
  748. description: OK
  749. content:
  750. application/json:
  751. schema:
  752. type: array
  753. items:
  754. $ref: '#/components/schemas/MessageFilterId'
  755. /api/clusters/{clusterName}/topics/{topicName}/messages/v2:
  756. get:
  757. tags:
  758. - Messages
  759. summary: getTopicMessagesV2
  760. operationId: getTopicMessagesV2
  761. parameters:
  762. - name: clusterName
  763. in: path
  764. required: true
  765. schema:
  766. type: string
  767. - name: topicName
  768. in: path
  769. required: true
  770. schema:
  771. type: string
  772. - name: m
  773. in: query
  774. description: Messages polling mode
  775. schema:
  776. $ref: "#/components/schemas/PollingMode"
  777. - name: p
  778. in: query
  779. schema:
  780. type: array
  781. description: List of target partitions( all partitions if not provided)
  782. items:
  783. type: integer
  784. - name: lim
  785. in: query
  786. description: Max number of messages can be returned
  787. schema:
  788. type: integer
  789. - name: q
  790. in: query
  791. description: query string to contains string filtration
  792. schema:
  793. type: string
  794. - name: fid
  795. in: query
  796. description: filter id, that was registered beforehand
  797. schema:
  798. type: string
  799. - name: off
  800. in: query
  801. description: offset to read from / to
  802. schema:
  803. type: integer
  804. format: int64
  805. - name: offs
  806. in: query
  807. description: partition offsets to read from / to. Format is "p1:off1,p2:off2,..."
  808. schema:
  809. type: integer
  810. format: int64
  811. - name: ts
  812. in: query
  813. description: timestamp (in ms) to read from / to
  814. schema:
  815. type: integer
  816. format: int64
  817. - name: ks
  818. in: query
  819. description: "Serde that should be used for deserialization. Will be chosen automatically if not set."
  820. schema:
  821. type: string
  822. - name: vs
  823. in: query
  824. description: "Serde that should be used for deserialization. Will be chosen automatically if not set."
  825. schema:
  826. type: string
  827. responses:
  828. 200:
  829. description: OK
  830. content:
  831. text/event-stream:
  832. schema:
  833. type: array
  834. items:
  835. $ref: '#/components/schemas/TopicMessageEvent'
  836. /api/clusters/{clusterName}/topics/{topicName}/consumer-groups:
  837. get:
  838. tags:
  839. - Consumer Groups
  840. summary: get Consumer Groups By Topics
  841. operationId: getTopicConsumerGroups
  842. parameters:
  843. - name: clusterName
  844. in: path
  845. required: true
  846. schema:
  847. type: string
  848. - name: topicName
  849. in: path
  850. required: true
  851. schema:
  852. type: string
  853. responses:
  854. 200:
  855. description: OK
  856. content:
  857. application/json:
  858. schema:
  859. type: array
  860. items:
  861. $ref: '#/components/schemas/ConsumerGroup'
  862. /api/clusters/{clusterName}/consumer-groups/paged:
  863. get:
  864. tags:
  865. - Consumer Groups
  866. summary: Get consumer groups with paging support
  867. operationId: getConsumerGroupsPage
  868. parameters:
  869. - name: clusterName
  870. in: path
  871. required: true
  872. schema:
  873. type: string
  874. - name: page
  875. in: query
  876. required: false
  877. schema:
  878. type: integer
  879. - name: perPage
  880. in: query
  881. required: false
  882. schema:
  883. type: integer
  884. - name: search
  885. in: query
  886. required: false
  887. schema:
  888. type: string
  889. - name: orderBy
  890. in: query
  891. required: false
  892. schema:
  893. $ref: '#/components/schemas/ConsumerGroupOrdering'
  894. - name: sortOrder
  895. in: query
  896. required: false
  897. schema:
  898. $ref: '#/components/schemas/SortOrder'
  899. responses:
  900. 200:
  901. description: OK
  902. content:
  903. application/json:
  904. schema:
  905. $ref: '#/components/schemas/ConsumerGroupsPageResponse'
  906. /api/clusters/{clusterName}/consumer-groups/{id}:
  907. get:
  908. tags:
  909. - Consumer Groups
  910. summary: get Consumer Group By Id
  911. operationId: getConsumerGroup
  912. parameters:
  913. - name: clusterName
  914. in: path
  915. required: true
  916. schema:
  917. type: string
  918. - name: id
  919. in: path
  920. required: true
  921. schema:
  922. type: string
  923. responses:
  924. 200:
  925. description: OK
  926. content:
  927. application/json:
  928. schema:
  929. $ref: '#/components/schemas/ConsumerGroupDetails'
  930. delete:
  931. tags:
  932. - Consumer Groups
  933. summary: Delete Consumer Group by ID
  934. operationId: deleteConsumerGroup
  935. parameters:
  936. - name: clusterName
  937. in: path
  938. required: true
  939. schema:
  940. type: string
  941. - name: id
  942. in: path
  943. required: true
  944. schema:
  945. type: string
  946. responses:
  947. 200:
  948. description: OK
  949. /api/clusters/{clusterName}/consumer-groups/{id}/offsets:
  950. post:
  951. tags:
  952. - Consumer Groups
  953. summary: resets consumer group offsets
  954. operationId: resetConsumerGroupOffsets
  955. parameters:
  956. - name: clusterName
  957. in: path
  958. required: true
  959. schema:
  960. type: string
  961. - name: id
  962. in: path
  963. required: true
  964. schema:
  965. type: string
  966. requestBody:
  967. content:
  968. application/json:
  969. schema:
  970. $ref: '#/components/schemas/ConsumerGroupOffsetsReset'
  971. responses:
  972. 200:
  973. description: OK
  974. /api/clusters/{clusterName}/schemas:
  975. post:
  976. tags:
  977. - Schemas
  978. summary: create a new subject schema or update existing subject schema
  979. operationId: createNewSchema
  980. parameters:
  981. - name: clusterName
  982. in: path
  983. required: true
  984. schema:
  985. type: string
  986. requestBody:
  987. content:
  988. application/json:
  989. schema:
  990. $ref: '#/components/schemas/NewSchemaSubject'
  991. responses:
  992. 200:
  993. description: Ok
  994. content:
  995. application/json:
  996. schema:
  997. $ref: '#/components/schemas/SchemaSubject'
  998. 400:
  999. description: Bad request
  1000. 409:
  1001. description: Duplicate schema
  1002. 422:
  1003. description: Invalid parameters
  1004. get:
  1005. tags:
  1006. - Schemas
  1007. summary: get all schemas of latest version from Schema Registry service
  1008. operationId: getSchemas
  1009. parameters:
  1010. - name: clusterName
  1011. in: path
  1012. required: true
  1013. schema:
  1014. type: string
  1015. - name: page
  1016. in: query
  1017. required: false
  1018. schema:
  1019. type: integer
  1020. - name: perPage
  1021. in: query
  1022. required: false
  1023. schema:
  1024. type: integer
  1025. - name: search
  1026. in: query
  1027. required: false
  1028. schema:
  1029. type: string
  1030. responses:
  1031. 200:
  1032. description: OK
  1033. content:
  1034. application/json:
  1035. schema:
  1036. $ref: '#/components/schemas/SchemaSubjectsResponse'
  1037. /api/clusters/{clusterName}/schemas/{subject}:
  1038. delete:
  1039. tags:
  1040. - Schemas
  1041. summary: delete schema from Schema Registry service
  1042. operationId: deleteSchema
  1043. parameters:
  1044. - name: clusterName
  1045. in: path
  1046. required: true
  1047. schema:
  1048. type: string
  1049. - name: subject
  1050. in: path
  1051. required: true
  1052. schema:
  1053. type: string
  1054. responses:
  1055. 200:
  1056. description: OK
  1057. 404:
  1058. description: Not found
  1059. /api/clusters/{clusterName}/schemas/{subject}/versions:
  1060. get:
  1061. tags:
  1062. - Schemas
  1063. summary: get all version of subject from Schema Registry service
  1064. operationId: getAllVersionsBySubject
  1065. parameters:
  1066. - name: clusterName
  1067. in: path
  1068. required: true
  1069. schema:
  1070. type: string
  1071. - name: subject
  1072. in: path
  1073. required: true
  1074. schema:
  1075. type: string
  1076. responses:
  1077. 200:
  1078. description: OK
  1079. content:
  1080. application/json:
  1081. schema:
  1082. type: array
  1083. items:
  1084. $ref: '#/components/schemas/SchemaSubject'
  1085. /api/clusters/{clusterName}/schemas/{subject}/latest:
  1086. get:
  1087. tags:
  1088. - Schemas
  1089. summary: get the latest schema from Schema Registry service
  1090. operationId: getLatestSchema
  1091. parameters:
  1092. - name: clusterName
  1093. in: path
  1094. required: true
  1095. schema:
  1096. type: string
  1097. - name: subject
  1098. in: path
  1099. required: true
  1100. schema:
  1101. type: string
  1102. responses:
  1103. 200:
  1104. description: OK
  1105. content:
  1106. application/json:
  1107. schema:
  1108. $ref: '#/components/schemas/SchemaSubject'
  1109. delete:
  1110. tags:
  1111. - Schemas
  1112. summary: delete the latest schema from schema registry
  1113. operationId: deleteLatestSchema
  1114. parameters:
  1115. - name: clusterName
  1116. in: path
  1117. required: true
  1118. schema:
  1119. type: string
  1120. - name: subject
  1121. in: path
  1122. required: true
  1123. schema:
  1124. type: string
  1125. responses:
  1126. 200:
  1127. description: OK
  1128. 404:
  1129. description: Not found
  1130. /api/clusters/{clusterName}/schemas/{subject}/versions/{version}:
  1131. get:
  1132. tags:
  1133. - Schemas
  1134. summary: get schema by version from Schema Registry service
  1135. operationId: getSchemaByVersion
  1136. parameters:
  1137. - name: clusterName
  1138. in: path
  1139. required: true
  1140. schema:
  1141. type: string
  1142. - name: subject
  1143. in: path
  1144. required: true
  1145. schema:
  1146. type: string
  1147. - name: version
  1148. in: path
  1149. required: true
  1150. schema:
  1151. type: integer
  1152. responses:
  1153. 200:
  1154. description: OK
  1155. content:
  1156. application/json:
  1157. schema:
  1158. $ref: '#/components/schemas/SchemaSubject'
  1159. delete:
  1160. tags:
  1161. - Schemas
  1162. summary: delete schema by version from schema registry
  1163. operationId: deleteSchemaByVersion
  1164. parameters:
  1165. - name: clusterName
  1166. in: path
  1167. required: true
  1168. schema:
  1169. type: string
  1170. - name: subject
  1171. in: path
  1172. required: true
  1173. schema:
  1174. type: string
  1175. - name: version
  1176. in: path
  1177. required: true
  1178. schema:
  1179. type: integer
  1180. responses:
  1181. 200:
  1182. description: OK
  1183. 404:
  1184. description: Not found
  1185. /api/clusters/{clusterName}/schemas/compatibility:
  1186. get:
  1187. tags:
  1188. - Schemas
  1189. summary: Get global schema compatibility level
  1190. operationId: getGlobalSchemaCompatibilityLevel
  1191. parameters:
  1192. - name: clusterName
  1193. in: path
  1194. required: true
  1195. schema:
  1196. type: string
  1197. responses:
  1198. 200:
  1199. description: OK
  1200. content:
  1201. application/json:
  1202. schema:
  1203. $ref: '#/components/schemas/CompatibilityLevel'
  1204. put:
  1205. tags:
  1206. - Schemas
  1207. summary: Update compatibility level globally
  1208. operationId: updateGlobalSchemaCompatibilityLevel
  1209. parameters:
  1210. - name: clusterName
  1211. in: path
  1212. required: true
  1213. schema:
  1214. type: string
  1215. requestBody:
  1216. content:
  1217. application/json:
  1218. schema:
  1219. $ref: '#/components/schemas/CompatibilityLevel'
  1220. responses:
  1221. 200:
  1222. description: OK
  1223. 404:
  1224. description: Not Found
  1225. /api/clusters/{clusterName}/schemas/{subject}/compatibility:
  1226. put:
  1227. tags:
  1228. - Schemas
  1229. summary: Update compatibility level for specific schema.
  1230. operationId: updateSchemaCompatibilityLevel
  1231. parameters:
  1232. - name: clusterName
  1233. in: path
  1234. required: true
  1235. schema:
  1236. type: string
  1237. - name: subject
  1238. in: path
  1239. required: true
  1240. schema:
  1241. type: string
  1242. requestBody:
  1243. content:
  1244. application/json:
  1245. schema:
  1246. $ref: '#/components/schemas/CompatibilityLevel'
  1247. responses:
  1248. 200:
  1249. description: OK
  1250. 404:
  1251. description: Not Found
  1252. /api/clusters/{clusterName}/schemas/{subject}/check:
  1253. post:
  1254. tags:
  1255. - Schemas
  1256. summary: Check compatibility of the schema.
  1257. operationId: checkSchemaCompatibility
  1258. parameters:
  1259. - name: clusterName
  1260. in: path
  1261. required: true
  1262. schema:
  1263. type: string
  1264. - name: subject
  1265. in: path
  1266. required: true
  1267. schema:
  1268. type: string
  1269. requestBody:
  1270. content:
  1271. application/json:
  1272. schema:
  1273. $ref: '#/components/schemas/NewSchemaSubject'
  1274. responses:
  1275. 200:
  1276. description: OK
  1277. content:
  1278. application/json:
  1279. schema:
  1280. $ref: '#/components/schemas/CompatibilityCheckResponse'
  1281. 404:
  1282. description: Not Found
  1283. /api/clusters/{clusterName}/connects:
  1284. get:
  1285. tags:
  1286. - Kafka Connect
  1287. summary: get all kafka connect instances
  1288. operationId: getConnects
  1289. parameters:
  1290. - name: clusterName
  1291. in: path
  1292. required: true
  1293. schema:
  1294. type: string
  1295. responses:
  1296. 200:
  1297. description: OK
  1298. content:
  1299. application/json:
  1300. schema:
  1301. type: array
  1302. items:
  1303. $ref: '#/components/schemas/Connect'
  1304. /api/clusters/{clusterName}/connectors:
  1305. get:
  1306. tags:
  1307. - Kafka Connect
  1308. summary: get filtered kafka connectors
  1309. operationId: getAllConnectors
  1310. parameters:
  1311. - name: clusterName
  1312. in: path
  1313. required: true
  1314. schema:
  1315. type: string
  1316. - name: search
  1317. in: query
  1318. required: false
  1319. schema:
  1320. type: string
  1321. - name: orderBy
  1322. in: query
  1323. required: false
  1324. schema:
  1325. $ref: '#/components/schemas/ConnectorColumnsToSort'
  1326. - name: sortOrder
  1327. in: query
  1328. required: false
  1329. schema:
  1330. $ref: '#/components/schemas/SortOrder'
  1331. responses:
  1332. 200:
  1333. description: OK
  1334. content:
  1335. application/json:
  1336. schema:
  1337. type: array
  1338. items:
  1339. $ref: '#/components/schemas/FullConnectorInfo'
  1340. /api/clusters/{clusterName}/connects/{connectName}/connectors:
  1341. get:
  1342. tags:
  1343. - Kafka Connect
  1344. summary: get connectors for provided kafka connect instance
  1345. operationId: getConnectors
  1346. parameters:
  1347. - name: clusterName
  1348. in: path
  1349. required: true
  1350. schema:
  1351. type: string
  1352. - name: connectName
  1353. in: path
  1354. required: true
  1355. schema:
  1356. type: string
  1357. responses:
  1358. 200:
  1359. description: OK
  1360. content:
  1361. application/json:
  1362. schema:
  1363. type: array
  1364. items:
  1365. type: string
  1366. post:
  1367. tags:
  1368. - Kafka Connect
  1369. summary: create new connector
  1370. operationId: createConnector
  1371. parameters:
  1372. - name: clusterName
  1373. in: path
  1374. required: true
  1375. schema:
  1376. type: string
  1377. - name: connectName
  1378. in: path
  1379. required: true
  1380. schema:
  1381. type: string
  1382. requestBody:
  1383. content:
  1384. application/json:
  1385. schema:
  1386. $ref: '#/components/schemas/NewConnector'
  1387. responses:
  1388. 200:
  1389. description: OK
  1390. content:
  1391. application/json:
  1392. schema:
  1393. $ref: '#/components/schemas/Connector'
  1394. 409:
  1395. description: rebalance is in progress
  1396. /api/clusters/{clusterName}/connects/{connectName}/connectors/{connectorName}:
  1397. get:
  1398. tags:
  1399. - Kafka Connect
  1400. summary: get information about the connector
  1401. operationId: getConnector
  1402. parameters:
  1403. - name: clusterName
  1404. in: path
  1405. required: true
  1406. schema:
  1407. type: string
  1408. - name: connectName
  1409. in: path
  1410. required: true
  1411. schema:
  1412. type: string
  1413. - name: connectorName
  1414. in: path
  1415. required: true
  1416. schema:
  1417. type: string
  1418. responses:
  1419. 200:
  1420. description: OK
  1421. content:
  1422. application/json:
  1423. schema:
  1424. $ref: '#/components/schemas/Connector'
  1425. delete:
  1426. tags:
  1427. - Kafka Connect
  1428. summary: delete connector
  1429. operationId: deleteConnector
  1430. parameters:
  1431. - name: clusterName
  1432. in: path
  1433. required: true
  1434. schema:
  1435. type: string
  1436. - name: connectName
  1437. in: path
  1438. required: true
  1439. schema:
  1440. type: string
  1441. - name: connectorName
  1442. in: path
  1443. required: true
  1444. schema:
  1445. type: string
  1446. responses:
  1447. 200:
  1448. description: OK
  1449. 409:
  1450. description: rebalance is in progress
  1451. /api/clusters/{clusterName}/connects/{connectName}/connectors/{connectorName}/action/{action}:
  1452. post:
  1453. tags:
  1454. - Kafka Connect
  1455. summary: update connector state (restart, pause or resume)
  1456. operationId: updateConnectorState
  1457. parameters:
  1458. - name: clusterName
  1459. in: path
  1460. required: true
  1461. schema:
  1462. type: string
  1463. - name: connectName
  1464. in: path
  1465. required: true
  1466. schema:
  1467. type: string
  1468. - name: connectorName
  1469. in: path
  1470. required: true
  1471. schema:
  1472. type: string
  1473. - name: action
  1474. in: path
  1475. required: true
  1476. schema:
  1477. $ref: '#/components/schemas/ConnectorAction'
  1478. responses:
  1479. 200:
  1480. description: OK
  1481. 409:
  1482. description: rebalance is in progress
  1483. /api/clusters/{clusterName}/connects/{connectName}/connectors/{connectorName}/config:
  1484. get:
  1485. tags:
  1486. - Kafka Connect
  1487. summary: get connector configuration
  1488. operationId: getConnectorConfig
  1489. parameters:
  1490. - name: clusterName
  1491. in: path
  1492. required: true
  1493. schema:
  1494. type: string
  1495. - name: connectName
  1496. in: path
  1497. required: true
  1498. schema:
  1499. type: string
  1500. - name: connectorName
  1501. in: path
  1502. required: true
  1503. schema:
  1504. type: string
  1505. responses:
  1506. 200:
  1507. description: OK
  1508. content:
  1509. application/json:
  1510. schema:
  1511. $ref: '#/components/schemas/ConnectorConfig'
  1512. put:
  1513. tags:
  1514. - Kafka Connect
  1515. summary: update or create connector with provided config
  1516. operationId: setConnectorConfig
  1517. parameters:
  1518. - name: clusterName
  1519. in: path
  1520. required: true
  1521. schema:
  1522. type: string
  1523. - name: connectName
  1524. in: path
  1525. required: true
  1526. schema:
  1527. type: string
  1528. - name: connectorName
  1529. in: path
  1530. required: true
  1531. schema:
  1532. type: string
  1533. requestBody:
  1534. content:
  1535. application/json:
  1536. schema:
  1537. $ref: '#/components/schemas/ConnectorConfig'
  1538. responses:
  1539. 200:
  1540. description: OK
  1541. content:
  1542. application/json:
  1543. schema:
  1544. $ref: '#/components/schemas/Connector'
  1545. 409:
  1546. description: rebalance is in progress
  1547. /api/clusters/{clusterName}/connects/{connectName}/connectors/{connectorName}/tasks:
  1548. get:
  1549. tags:
  1550. - Kafka Connect
  1551. summary: get connector tasks
  1552. operationId: getConnectorTasks
  1553. parameters:
  1554. - name: clusterName
  1555. in: path
  1556. required: true
  1557. schema:
  1558. type: string
  1559. - name: connectName
  1560. in: path
  1561. required: true
  1562. schema:
  1563. type: string
  1564. - name: connectorName
  1565. in: path
  1566. required: true
  1567. schema:
  1568. type: string
  1569. responses:
  1570. 200:
  1571. description: OK
  1572. content:
  1573. application/json:
  1574. schema:
  1575. type: array
  1576. items:
  1577. $ref: '#/components/schemas/Task'
  1578. /api/clusters/{clusterName}/connects/{connectName}/connectors/{connectorName}/tasks/{taskId}/action/restart:
  1579. post:
  1580. tags:
  1581. - Kafka Connect
  1582. summary: restart connector task
  1583. operationId: restartConnectorTask
  1584. parameters:
  1585. - name: clusterName
  1586. in: path
  1587. required: true
  1588. schema:
  1589. type: string
  1590. - name: connectName
  1591. in: path
  1592. required: true
  1593. schema:
  1594. type: string
  1595. - name: connectorName
  1596. in: path
  1597. required: true
  1598. schema:
  1599. type: string
  1600. - name: taskId
  1601. in: path
  1602. required: true
  1603. schema:
  1604. type: integer
  1605. responses:
  1606. 200:
  1607. description: OK
  1608. /api/clusters/{clusterName}/ksql/v2:
  1609. post:
  1610. tags:
  1611. - Ksql
  1612. summary: executeKsql
  1613. operationId: executeKsql
  1614. parameters:
  1615. - name: clusterName
  1616. in: path
  1617. required: true
  1618. schema:
  1619. type: string
  1620. requestBody:
  1621. content:
  1622. application/json:
  1623. schema:
  1624. $ref: '#/components/schemas/KsqlCommandV2'
  1625. responses:
  1626. 200:
  1627. description: OK
  1628. content:
  1629. application/json:
  1630. schema:
  1631. $ref: '#/components/schemas/KsqlCommandV2Response'
  1632. /api/clusters/{clusterName}/ksql/tables:
  1633. get:
  1634. tags:
  1635. - Ksql
  1636. summary: listTables
  1637. operationId: listTables
  1638. parameters:
  1639. - name: clusterName
  1640. in: path
  1641. required: true
  1642. schema:
  1643. type: string
  1644. responses:
  1645. 200:
  1646. description: OK
  1647. content:
  1648. application/json:
  1649. schema:
  1650. type: array
  1651. items:
  1652. $ref: '#/components/schemas/KsqlTableDescription'
  1653. /api/clusters/{clusterName}/ksql/streams:
  1654. get:
  1655. tags:
  1656. - Ksql
  1657. summary: listStreams
  1658. operationId: listStreams
  1659. parameters:
  1660. - name: clusterName
  1661. in: path
  1662. required: true
  1663. schema:
  1664. type: string
  1665. responses:
  1666. 200:
  1667. description: OK
  1668. content:
  1669. application/json:
  1670. schema:
  1671. type: array
  1672. items:
  1673. $ref: '#/components/schemas/KsqlStreamDescription'
  1674. /api/clusters/{clusterName}/ksql/response:
  1675. get:
  1676. tags:
  1677. - Ksql
  1678. summary: Open SSE pipe
  1679. operationId: openKsqlResponsePipe
  1680. parameters:
  1681. - name: clusterName
  1682. in: path
  1683. required: true
  1684. schema:
  1685. type: string
  1686. - name: pipeId
  1687. in: query
  1688. required: true
  1689. schema:
  1690. type: string
  1691. responses:
  1692. 200:
  1693. description: OK
  1694. content:
  1695. text/event-stream:
  1696. schema:
  1697. type: array
  1698. items:
  1699. $ref: '#/components/schemas/KsqlResponse'
  1700. /api/clusters/{clusterName}/connects/{connectName}/plugins:
  1701. get:
  1702. tags:
  1703. - Kafka Connect
  1704. summary: get connector plugins
  1705. operationId: getConnectorPlugins
  1706. parameters:
  1707. - name: clusterName
  1708. in: path
  1709. required: true
  1710. schema:
  1711. type: string
  1712. - name: connectName
  1713. in: path
  1714. required: true
  1715. schema:
  1716. type: string
  1717. responses:
  1718. 200:
  1719. description: OK
  1720. content:
  1721. application/json:
  1722. schema:
  1723. type: array
  1724. items:
  1725. $ref: '#/components/schemas/ConnectorPlugin'
  1726. /api/clusters/{clusterName}/connects/{connectName}/plugins/{pluginName}/config/validate:
  1727. put:
  1728. tags:
  1729. - Kafka Connect
  1730. summary: validate connector plugin configuration
  1731. operationId: validateConnectorPluginConfig
  1732. parameters:
  1733. - name: clusterName
  1734. in: path
  1735. required: true
  1736. schema:
  1737. type: string
  1738. - name: connectName
  1739. in: path
  1740. required: true
  1741. schema:
  1742. type: string
  1743. - name: pluginName
  1744. in: path
  1745. required: true
  1746. schema:
  1747. type: string
  1748. requestBody:
  1749. content:
  1750. application/json:
  1751. schema:
  1752. $ref: '#/components/schemas/ConnectorConfig'
  1753. responses:
  1754. 200:
  1755. description: OK
  1756. content:
  1757. application/json:
  1758. schema:
  1759. $ref: '#/components/schemas/ConnectorPluginConfigValidationResponse'
  1760. /api/clusters/{clusterName}/topics/{topicName}/partitions:
  1761. patch:
  1762. tags:
  1763. - Topics
  1764. summary: increaseTopicPartitions
  1765. operationId: increaseTopicPartitions
  1766. parameters:
  1767. - name: clusterName
  1768. in: path
  1769. required: true
  1770. schema:
  1771. type: string
  1772. - name: topicName
  1773. in: path
  1774. required: true
  1775. schema:
  1776. type: string
  1777. requestBody:
  1778. content:
  1779. application/json:
  1780. schema:
  1781. $ref: '#/components/schemas/PartitionsIncrease'
  1782. responses:
  1783. 200:
  1784. description: OK
  1785. content:
  1786. application/json:
  1787. schema:
  1788. $ref: '#/components/schemas/PartitionsIncreaseResponse'
  1789. 404:
  1790. description: Not found
  1791. /api/authorization:
  1792. get:
  1793. tags:
  1794. - Authorization
  1795. summary: Get user authentication related info
  1796. operationId: getUserAuthInfo
  1797. responses:
  1798. 200:
  1799. description: OK
  1800. content:
  1801. application/json:
  1802. schema:
  1803. $ref: '#/components/schemas/AuthenticationInfo'
  1804. /api/info:
  1805. get:
  1806. tags:
  1807. - ApplicationConfig
  1808. summary: Gets application info
  1809. operationId: getApplicationInfo
  1810. responses:
  1811. 200:
  1812. description: OK
  1813. content:
  1814. application/json:
  1815. schema:
  1816. $ref: '#/components/schemas/ApplicationInfo'
  1817. /api/config:
  1818. get:
  1819. tags:
  1820. - ApplicationConfig
  1821. summary: Gets current application configuration
  1822. operationId: getCurrentConfig
  1823. responses:
  1824. 200:
  1825. description: OK
  1826. content:
  1827. application/json:
  1828. schema:
  1829. $ref: '#/components/schemas/ApplicationConfig'
  1830. put:
  1831. tags:
  1832. - ApplicationConfig
  1833. summary: Restarts application with specified configuration
  1834. operationId: restartWithConfig
  1835. requestBody:
  1836. content:
  1837. application/json:
  1838. schema:
  1839. $ref: '#/components/schemas/RestartRequest'
  1840. responses:
  1841. 200:
  1842. description: OK
  1843. /api/config/validated:
  1844. put:
  1845. tags:
  1846. - ApplicationConfig
  1847. summary: Restarts application with specified configuration
  1848. operationId: validateConfig
  1849. requestBody:
  1850. content:
  1851. application/json:
  1852. schema:
  1853. $ref: '#/components/schemas/ApplicationConfig'
  1854. responses:
  1855. 200:
  1856. description: OK
  1857. content:
  1858. application/json:
  1859. schema:
  1860. $ref: '#/components/schemas/ApplicationConfigValidation'
  1861. /api/config/relatedfiles:
  1862. post:
  1863. tags:
  1864. - ApplicationConfig
  1865. summary: Restarts application with specified configuration
  1866. operationId: uploadConfigRelatedFile
  1867. requestBody:
  1868. content:
  1869. multipart/form-data:
  1870. schema:
  1871. type: object
  1872. properties:
  1873. file:
  1874. type: string
  1875. format: filepart
  1876. responses:
  1877. 200:
  1878. description: OK
  1879. content:
  1880. application/json:
  1881. schema:
  1882. $ref: '#/components/schemas/UploadedFileInfo'
  1883. components:
  1884. schemas:
  1885. TopicSerdeSuggestion:
  1886. type: object
  1887. properties:
  1888. key:
  1889. type: array
  1890. items:
  1891. $ref: '#/components/schemas/SerdeDescription'
  1892. value:
  1893. type: array
  1894. items:
  1895. $ref: '#/components/schemas/SerdeDescription'
  1896. SerdeDescription:
  1897. type: object
  1898. properties:
  1899. name:
  1900. type: string
  1901. description:
  1902. type: string
  1903. preferred:
  1904. 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."
  1905. type: boolean
  1906. schema:
  1907. type: string
  1908. additionalProperties:
  1909. type: object
  1910. additionalProperties:
  1911. type: object
  1912. SerdeUsage:
  1913. type: string
  1914. enum:
  1915. - SERIALIZE
  1916. - DESERIALIZE
  1917. ErrorResponse:
  1918. description: Error object that will be returned with 4XX and 5XX HTTP statuses
  1919. type: object
  1920. properties:
  1921. code:
  1922. type: integer
  1923. description: Internal error code (can be used for message formatting & localization on UI)
  1924. message:
  1925. type: string
  1926. description: Error message
  1927. timestamp:
  1928. type: number
  1929. description: Response unix timestamp in ms
  1930. requestId:
  1931. type: string
  1932. description: Unique server-defined request id for convenient debugging
  1933. fieldsErrors:
  1934. type: array
  1935. items:
  1936. $ref: '#/components/schemas/FieldError'
  1937. stackTrace:
  1938. type: string
  1939. FieldError:
  1940. type: object
  1941. properties:
  1942. fieldName:
  1943. type: string
  1944. description: Name of field that violated format
  1945. restrictions:
  1946. description: Field format violations description (ex. ["size must be between 0 and 20", "must be a well-formed email address"])
  1947. type: array
  1948. items:
  1949. type: string
  1950. MetricsCollectionError:
  1951. type: object
  1952. properties:
  1953. message:
  1954. type: string
  1955. stackTrace:
  1956. type: string
  1957. ApplicationInfo:
  1958. type: object
  1959. properties:
  1960. enabledFeatures:
  1961. type: array
  1962. items:
  1963. type: string
  1964. enum:
  1965. - DYNAMIC_CONFIG
  1966. Cluster:
  1967. type: object
  1968. properties:
  1969. name:
  1970. type: string
  1971. defaultCluster:
  1972. type: boolean
  1973. status:
  1974. $ref: '#/components/schemas/ServerStatus'
  1975. lastError:
  1976. $ref: '#/components/schemas/MetricsCollectionError'
  1977. brokerCount:
  1978. type: integer
  1979. onlinePartitionCount:
  1980. type: integer
  1981. topicCount:
  1982. type: integer
  1983. bytesInPerSec:
  1984. type: number
  1985. bytesOutPerSec:
  1986. type: number
  1987. readOnly:
  1988. type: boolean
  1989. version:
  1990. type: string
  1991. features:
  1992. type: array
  1993. items:
  1994. type: string
  1995. enum:
  1996. - SCHEMA_REGISTRY
  1997. - KAFKA_CONNECT
  1998. - KSQL_DB
  1999. - TOPIC_DELETION
  2000. required:
  2001. - id
  2002. - name
  2003. - status
  2004. ServerStatus:
  2005. type: string
  2006. enum:
  2007. - online
  2008. - offline
  2009. - initializing
  2010. ClusterMetrics:
  2011. type: object
  2012. properties:
  2013. items:
  2014. type: array
  2015. items:
  2016. $ref: '#/components/schemas/Metric'
  2017. ClusterStats:
  2018. type: object
  2019. properties:
  2020. brokerCount:
  2021. type: integer
  2022. zooKeeperStatus:
  2023. type: integer
  2024. deprecated: true
  2025. activeControllers:
  2026. type: integer
  2027. description: Id of broker which is cluster's controller. null, if controller not known yet.
  2028. onlinePartitionCount:
  2029. type: integer
  2030. offlinePartitionCount:
  2031. type: integer
  2032. inSyncReplicasCount:
  2033. type: integer
  2034. outOfSyncReplicasCount:
  2035. type: integer
  2036. underReplicatedPartitionCount:
  2037. type: integer
  2038. diskUsage:
  2039. type: array
  2040. items:
  2041. $ref: '#/components/schemas/BrokerDiskUsage'
  2042. version:
  2043. type: string
  2044. BrokerDiskUsage:
  2045. type: object
  2046. properties:
  2047. brokerId:
  2048. type: integer
  2049. segmentSize:
  2050. type: integer
  2051. format: int64
  2052. segmentCount:
  2053. type: integer
  2054. required:
  2055. - brokerId
  2056. BrokerMetrics:
  2057. type: object
  2058. properties:
  2059. segmentSize:
  2060. type: integer
  2061. format: int64
  2062. segmentCount:
  2063. type: integer
  2064. metrics:
  2065. type: array
  2066. items:
  2067. $ref: '#/components/schemas/Metric'
  2068. BrokerLogdirs:
  2069. type: object
  2070. properties:
  2071. name:
  2072. type: string
  2073. error:
  2074. type: string
  2075. topics:
  2076. type: array
  2077. items:
  2078. $ref: '#/components/schemas/TopicLogdirs'
  2079. BrokersLogdirs:
  2080. type: object
  2081. properties:
  2082. name:
  2083. type: string
  2084. error:
  2085. type: string
  2086. topics:
  2087. type: array
  2088. items:
  2089. $ref: '#/components/schemas/BrokerTopicLogdirs'
  2090. TopicsResponse:
  2091. type: object
  2092. properties:
  2093. pageCount:
  2094. type: integer
  2095. topics:
  2096. type: array
  2097. items:
  2098. $ref: '#/components/schemas/Topic'
  2099. TopicColumnsToSort:
  2100. type: string
  2101. enum:
  2102. - NAME
  2103. - OUT_OF_SYNC_REPLICAS
  2104. - TOTAL_PARTITIONS
  2105. - REPLICATION_FACTOR
  2106. - SIZE
  2107. ConnectorColumnsToSort:
  2108. type: string
  2109. enum:
  2110. - NAME
  2111. - CONNECT
  2112. - TYPE
  2113. - STATUS
  2114. SortOrder:
  2115. type: string
  2116. enum:
  2117. - ASC
  2118. - DESC
  2119. Topic:
  2120. type: object
  2121. properties:
  2122. name:
  2123. type: string
  2124. internal:
  2125. type: boolean
  2126. partitionCount:
  2127. type: integer
  2128. replicationFactor:
  2129. type: integer
  2130. replicas:
  2131. type: integer
  2132. inSyncReplicas:
  2133. type: integer
  2134. segmentSize:
  2135. type: integer
  2136. format: int64
  2137. segmentCount:
  2138. type: integer
  2139. bytesInPerSec:
  2140. type: number
  2141. bytesOutPerSec:
  2142. type: number
  2143. underReplicatedPartitions:
  2144. type: integer
  2145. cleanUpPolicy:
  2146. $ref: '#/components/schemas/CleanUpPolicy'
  2147. partitions:
  2148. type: array
  2149. items:
  2150. $ref: "#/components/schemas/Partition"
  2151. required:
  2152. - name
  2153. TopicAnalysis:
  2154. type: object
  2155. description: "Represents analysis state. Note: 'progress' and 'result' fields are set exclusively depending on analysis state."
  2156. properties:
  2157. progress:
  2158. $ref: '#/components/schemas/TopicAnalysisProgress'
  2159. result:
  2160. $ref: '#/components/schemas/TopicAnalysisResult'
  2161. TopicAnalysisProgress:
  2162. type: object
  2163. properties:
  2164. startedAt:
  2165. type: integer
  2166. format: int64
  2167. completenessPercent:
  2168. type: number
  2169. msgsScanned:
  2170. type: integer
  2171. format: int64
  2172. bytesScanned:
  2173. type: integer
  2174. format: int64
  2175. TopicAnalysisResult:
  2176. type: object
  2177. properties:
  2178. startedAt:
  2179. type: integer
  2180. format: int64
  2181. finishedAt:
  2182. type: integer
  2183. format: int64
  2184. error:
  2185. type: string
  2186. totalStats:
  2187. $ref: '#/components/schemas/TopicAnalysisStats'
  2188. partitionStats:
  2189. type: array
  2190. items:
  2191. $ref: "#/components/schemas/TopicAnalysisStats"
  2192. TopicAnalysisStats:
  2193. type: object
  2194. properties:
  2195. partition:
  2196. type: integer
  2197. format: int32
  2198. description: "null if this is total stats"
  2199. totalMsgs:
  2200. type: integer
  2201. format: int64
  2202. minOffset:
  2203. type: integer
  2204. format: int64
  2205. maxOffset:
  2206. type: integer
  2207. format: int64
  2208. minTimestamp:
  2209. type: integer
  2210. format: int64
  2211. maxTimestamp:
  2212. type: integer
  2213. format: int64
  2214. nullKeys:
  2215. type: integer
  2216. format: int64
  2217. nullValues:
  2218. type: integer
  2219. format: int64
  2220. approxUniqKeys:
  2221. type: integer
  2222. format: int64
  2223. approxUniqValues:
  2224. type: integer
  2225. format: int64
  2226. keySize:
  2227. $ref: "#/components/schemas/TopicAnalysisSizeStats"
  2228. valueSize:
  2229. $ref: "#/components/schemas/TopicAnalysisSizeStats"
  2230. hourlyMsgCounts:
  2231. type: array
  2232. items:
  2233. type: object
  2234. properties:
  2235. hourStart:
  2236. type: integer
  2237. format: int64
  2238. count:
  2239. type: integer
  2240. format: int64
  2241. TopicAnalysisSizeStats:
  2242. type: object
  2243. description: "All sizes in bytes"
  2244. properties:
  2245. sum:
  2246. type: integer
  2247. format: int64
  2248. min:
  2249. type: integer
  2250. format: int64
  2251. max:
  2252. type: integer
  2253. format: int64
  2254. avg:
  2255. type: integer
  2256. format: int64
  2257. prctl50:
  2258. type: integer
  2259. format: int64
  2260. prctl75:
  2261. type: integer
  2262. format: int64
  2263. prctl95:
  2264. type: integer
  2265. format: int64
  2266. prctl99:
  2267. type: integer
  2268. format: int64
  2269. prctl999:
  2270. type: integer
  2271. format: int64
  2272. Replica:
  2273. type: object
  2274. properties:
  2275. broker:
  2276. type: integer
  2277. leader:
  2278. type: boolean
  2279. inSync:
  2280. type: boolean
  2281. TopicDetails:
  2282. type: object
  2283. properties:
  2284. name:
  2285. type: string
  2286. internal:
  2287. type: boolean
  2288. partitions:
  2289. type: array
  2290. items:
  2291. $ref: "#/components/schemas/Partition"
  2292. partitionCount:
  2293. type: integer
  2294. replicationFactor:
  2295. type: integer
  2296. replicas:
  2297. type: integer
  2298. inSyncReplicas:
  2299. type: integer
  2300. bytesInPerSec:
  2301. type: number
  2302. bytesOutPerSec:
  2303. type: number
  2304. segmentSize:
  2305. type: integer
  2306. format: int64
  2307. segmentCount:
  2308. type: integer
  2309. underReplicatedPartitions:
  2310. type: integer
  2311. cleanUpPolicy:
  2312. $ref: '#/components/schemas/CleanUpPolicy'
  2313. keySerde:
  2314. type: string
  2315. valueSerde:
  2316. type: string
  2317. required:
  2318. - name
  2319. TopicConfig:
  2320. type: object
  2321. properties:
  2322. name:
  2323. type: string
  2324. value:
  2325. type: string
  2326. defaultValue:
  2327. type: string
  2328. source:
  2329. $ref: "#/components/schemas/ConfigSource"
  2330. isSensitive:
  2331. type: boolean
  2332. isReadOnly:
  2333. type: boolean
  2334. synonyms:
  2335. type: array
  2336. items:
  2337. $ref: "#/components/schemas/ConfigSynonym"
  2338. doc:
  2339. type: string
  2340. required:
  2341. - name
  2342. TopicCreation:
  2343. type: object
  2344. properties:
  2345. name:
  2346. type: string
  2347. partitions:
  2348. type: integer
  2349. replicationFactor:
  2350. type: integer
  2351. configs:
  2352. type: object
  2353. additionalProperties:
  2354. type: string
  2355. required:
  2356. - name
  2357. - partitions
  2358. TopicUpdate:
  2359. type: object
  2360. properties:
  2361. configs:
  2362. type: object
  2363. additionalProperties:
  2364. type: string
  2365. required:
  2366. - configs
  2367. Broker:
  2368. type: object
  2369. properties:
  2370. id:
  2371. type: integer
  2372. host:
  2373. type: string
  2374. port:
  2375. type: integer
  2376. bytesInPerSec:
  2377. type: number
  2378. bytesOutPerSec:
  2379. type: number
  2380. required:
  2381. - id
  2382. BrokerLogdirUpdate:
  2383. type: object
  2384. properties:
  2385. topic:
  2386. type: string
  2387. partition:
  2388. type: integer
  2389. logDir:
  2390. type: string
  2391. ConsumerGroupState:
  2392. type: string
  2393. enum:
  2394. - UNKNOWN
  2395. - PREPARING_REBALANCE
  2396. - COMPLETING_REBALANCE
  2397. - STABLE
  2398. - DEAD
  2399. - EMPTY
  2400. MessageFormat:
  2401. type: string
  2402. enum:
  2403. - AVRO
  2404. - JSON
  2405. - PROTOBUF
  2406. - UNKNOWN
  2407. ConsumerGroup:
  2408. type: object
  2409. properties:
  2410. groupId:
  2411. type: string
  2412. members:
  2413. type: integer
  2414. topics:
  2415. type: integer
  2416. simple:
  2417. type: boolean
  2418. partitionAssignor:
  2419. type: string
  2420. state:
  2421. $ref: "#/components/schemas/ConsumerGroupState"
  2422. coordinator:
  2423. $ref: "#/components/schemas/Broker"
  2424. messagesBehind:
  2425. type: integer
  2426. format: int64
  2427. description: null if consumer group has no offsets committed
  2428. required:
  2429. - groupId
  2430. ConsumerGroupOrdering:
  2431. type: string
  2432. enum:
  2433. - NAME
  2434. - MEMBERS
  2435. - STATE
  2436. ConsumerGroupsPageResponse:
  2437. type: object
  2438. properties:
  2439. pageCount:
  2440. type: integer
  2441. consumerGroups:
  2442. type: array
  2443. items:
  2444. $ref: '#/components/schemas/ConsumerGroup'
  2445. CreateTopicMessage:
  2446. type: object
  2447. properties:
  2448. partition:
  2449. type: integer
  2450. key:
  2451. type: string
  2452. nullable: true
  2453. headers:
  2454. type: object
  2455. additionalProperties:
  2456. type: string
  2457. content:
  2458. type: string
  2459. nullable: true
  2460. keySerde:
  2461. type: string
  2462. nullable: true
  2463. valueSerde:
  2464. type: string
  2465. nullable: true
  2466. required:
  2467. - partition
  2468. TopicMessageEvent:
  2469. type: object
  2470. properties:
  2471. type:
  2472. type: string
  2473. enum:
  2474. - PHASE
  2475. - MESSAGE
  2476. - CONSUMING
  2477. - DONE
  2478. - EMIT_THROTTLING
  2479. message:
  2480. $ref: "#/components/schemas/TopicMessage"
  2481. phase:
  2482. $ref: "#/components/schemas/TopicMessagePhase"
  2483. consuming:
  2484. $ref: "#/components/schemas/TopicMessageConsuming"
  2485. TopicMessagePhase:
  2486. type: object
  2487. properties:
  2488. name:
  2489. type: string
  2490. TimeStampFormat:
  2491. type: object
  2492. properties:
  2493. timeStampFormat:
  2494. type: string
  2495. TopicMessageConsuming:
  2496. type: object
  2497. properties:
  2498. bytesConsumed:
  2499. type: integer
  2500. format: int64
  2501. elapsedMs:
  2502. type: integer
  2503. format: int64
  2504. isCancelled:
  2505. type: boolean
  2506. messagesConsumed:
  2507. type: integer
  2508. filterApplyErrors:
  2509. type: integer
  2510. TopicMessage:
  2511. type: object
  2512. properties:
  2513. partition:
  2514. type: integer
  2515. offset:
  2516. type: integer
  2517. format: int64
  2518. timestamp:
  2519. type: string
  2520. format: date-time
  2521. timestampType:
  2522. type: string
  2523. enum:
  2524. - NO_TIMESTAMP_TYPE
  2525. - CREATE_TIME
  2526. - LOG_APPEND_TIME
  2527. key:
  2528. type: string
  2529. headers:
  2530. type: object
  2531. additionalProperties:
  2532. type: string
  2533. content:
  2534. type: string
  2535. keyFormat:
  2536. #deprecated - wont be filled - use 'keySerde' field instead
  2537. $ref: "#/components/schemas/MessageFormat"
  2538. valueFormat:
  2539. #deprecated - wont be filled - use 'valueSerde' field instead
  2540. $ref: "#/components/schemas/MessageFormat"
  2541. keySize:
  2542. type: integer
  2543. format: int64
  2544. valueSize:
  2545. type: integer
  2546. format: int64
  2547. keySchemaId:
  2548. deprecated: true
  2549. description: deprecated - wont be filled - use 'keyDeserializeProperties' field instead
  2550. type: string
  2551. valueSchemaId:
  2552. deprecated: true
  2553. description: deprecated - wont be filled - use 'valueDeserializeProperties' field instead
  2554. type: string
  2555. headersSize:
  2556. type: integer
  2557. format: int64
  2558. keySerde:
  2559. type: string
  2560. valueSerde:
  2561. type: string
  2562. keyDeserializeProperties:
  2563. additionalProperties:
  2564. type: object
  2565. valueDeserializeProperties:
  2566. additionalProperties:
  2567. type: object
  2568. required:
  2569. - partition
  2570. - offset
  2571. - timestamp
  2572. SeekType:
  2573. type: string
  2574. enum:
  2575. - BEGINNING
  2576. - OFFSET
  2577. - TIMESTAMP
  2578. - LATEST
  2579. MessageFilterRegistration:
  2580. type: object
  2581. properties:
  2582. filterCode:
  2583. type: string
  2584. MessageFilterId:
  2585. type: object
  2586. properties:
  2587. id:
  2588. type: string
  2589. PollingMode:
  2590. type: string
  2591. enum:
  2592. - FROM_OFFSET
  2593. - TO_OFFSET
  2594. - FROM_TIMESTAMP
  2595. - TO_TIMESTAMP
  2596. - LATEST
  2597. - FIRST
  2598. - TAILING
  2599. MessageFilterType:
  2600. type: string
  2601. enum:
  2602. - STRING_CONTAINS
  2603. - GROOVY_SCRIPT
  2604. SeekDirection:
  2605. type: string
  2606. enum:
  2607. - FORWARD
  2608. - BACKWARD
  2609. - TAILING
  2610. default: FORWARD
  2611. Partition:
  2612. type: object
  2613. properties:
  2614. partition:
  2615. type: integer
  2616. leader:
  2617. type: integer
  2618. replicas:
  2619. type: array
  2620. items:
  2621. $ref: '#/components/schemas/Replica'
  2622. offsetMax:
  2623. type: integer
  2624. format: int64
  2625. offsetMin:
  2626. type: integer
  2627. format: int64
  2628. required:
  2629. - topic
  2630. - partition
  2631. - offsetMax
  2632. - offsetMin
  2633. ConsumerGroupTopicPartition:
  2634. type: object
  2635. properties:
  2636. topic:
  2637. type: string
  2638. partition:
  2639. type: integer
  2640. currentOffset:
  2641. type: integer
  2642. format: int64
  2643. endOffset:
  2644. type: integer
  2645. format: int64
  2646. messagesBehind:
  2647. type: integer
  2648. format: int64
  2649. description: null if consumer group has no offsets committed
  2650. consumerId:
  2651. type: string
  2652. host:
  2653. type: string
  2654. required:
  2655. - topic
  2656. - partition
  2657. ConsumerGroupDetails:
  2658. allOf:
  2659. - $ref: '#/components/schemas/ConsumerGroup'
  2660. - type: object
  2661. properties:
  2662. partitions:
  2663. type: array
  2664. items:
  2665. $ref: '#/components/schemas/ConsumerGroupTopicPartition'
  2666. Metric:
  2667. type: object
  2668. properties:
  2669. name:
  2670. type: string
  2671. labels:
  2672. type: string
  2673. additionalProperties:
  2674. type: string
  2675. value:
  2676. type: number
  2677. TopicLogdirs:
  2678. type: object
  2679. properties:
  2680. name:
  2681. type: string
  2682. partitions:
  2683. type: array
  2684. items:
  2685. $ref: '#/components/schemas/TopicPartitionLogdir'
  2686. BrokerTopicLogdirs:
  2687. type: object
  2688. properties:
  2689. name:
  2690. type: string
  2691. partitions:
  2692. type: array
  2693. items:
  2694. $ref: '#/components/schemas/BrokerTopicPartitionLogdir'
  2695. TopicPartitionLogdir:
  2696. type: object
  2697. properties:
  2698. partition:
  2699. type: integer
  2700. size:
  2701. type: integer
  2702. format: int64
  2703. offsetLag:
  2704. type: integer
  2705. format: int64
  2706. BrokerTopicPartitionLogdir:
  2707. allOf:
  2708. - $ref: '#/components/schemas/TopicPartitionLogdir'
  2709. - type: object
  2710. properties:
  2711. broker:
  2712. type: integer
  2713. SchemaSubject:
  2714. type: object
  2715. properties:
  2716. subject:
  2717. type: string
  2718. version:
  2719. type: string
  2720. id:
  2721. type: integer
  2722. schema:
  2723. type: string
  2724. compatibilityLevel:
  2725. type: string
  2726. schemaType:
  2727. $ref: '#/components/schemas/SchemaType'
  2728. required:
  2729. - id
  2730. - subject
  2731. - version
  2732. - schema
  2733. - compatibilityLevel
  2734. - schemaType
  2735. NewSchemaSubject:
  2736. type: object
  2737. description: should be set for creating/updating schema subject
  2738. properties:
  2739. subject:
  2740. type: string
  2741. schema:
  2742. type: string
  2743. schemaType:
  2744. $ref: '#/components/schemas/SchemaType'
  2745. # upon updating a schema, the type of existing schema can't be changed
  2746. required:
  2747. - subject
  2748. - schema
  2749. - schemaType
  2750. CompatibilityLevel:
  2751. type: object
  2752. properties:
  2753. compatibility:
  2754. type: string
  2755. enum:
  2756. - BACKWARD
  2757. - BACKWARD_TRANSITIVE
  2758. - FORWARD
  2759. - FORWARD_TRANSITIVE
  2760. - FULL
  2761. - FULL_TRANSITIVE
  2762. - NONE
  2763. required:
  2764. - compatibility
  2765. SchemaType:
  2766. type: string
  2767. description: upon updating a schema, the type of an existing schema can't be changed
  2768. enum:
  2769. - AVRO
  2770. - JSON
  2771. - PROTOBUF
  2772. CompatibilityCheckResponse:
  2773. type: object
  2774. properties:
  2775. isCompatible:
  2776. type: boolean
  2777. required:
  2778. - isCompatible
  2779. SchemaSubjectsResponse:
  2780. type: object
  2781. properties:
  2782. pageCount:
  2783. type: integer
  2784. schemas:
  2785. type: array
  2786. items:
  2787. $ref: '#/components/schemas/SchemaSubject'
  2788. Connect:
  2789. type: object
  2790. properties:
  2791. name:
  2792. type: string
  2793. address:
  2794. type: string
  2795. required:
  2796. - name
  2797. ConnectorConfig:
  2798. type: object
  2799. additionalProperties:
  2800. type: object
  2801. TaskId:
  2802. type: object
  2803. properties:
  2804. connector:
  2805. type: string
  2806. task:
  2807. type: integer
  2808. Task:
  2809. type: object
  2810. properties:
  2811. id:
  2812. $ref: '#/components/schemas/TaskId'
  2813. status:
  2814. $ref: '#/components/schemas/TaskStatus'
  2815. config:
  2816. $ref: '#/components/schemas/ConnectorConfig'
  2817. required:
  2818. - status
  2819. NewConnector:
  2820. type: object
  2821. properties:
  2822. name:
  2823. type: string
  2824. config:
  2825. $ref: '#/components/schemas/ConnectorConfig'
  2826. required:
  2827. - name
  2828. - config
  2829. Connector:
  2830. allOf:
  2831. - $ref: '#/components/schemas/NewConnector'
  2832. - type: object
  2833. properties:
  2834. tasks:
  2835. type: array
  2836. items:
  2837. $ref: '#/components/schemas/TaskId'
  2838. type:
  2839. $ref: '#/components/schemas/ConnectorType'
  2840. status:
  2841. $ref: '#/components/schemas/ConnectorStatus'
  2842. connect:
  2843. type: string
  2844. required:
  2845. - type
  2846. - status
  2847. - connect
  2848. ConnectorType:
  2849. type: string
  2850. enum:
  2851. - SOURCE
  2852. - SINK
  2853. ConsumerGroupOffsetsReset:
  2854. type: object
  2855. properties:
  2856. topic:
  2857. type: string
  2858. resetType:
  2859. $ref: '#/components/schemas/ConsumerGroupOffsetsResetType'
  2860. partitions:
  2861. type: array
  2862. items:
  2863. type: integer
  2864. description: list of target partitions, all partitions will be used if it is not set or empty
  2865. resetToTimestamp:
  2866. type: integer
  2867. format: int64
  2868. description: should be set if resetType is TIMESTAMP
  2869. partitionsOffsets:
  2870. type: array
  2871. items:
  2872. $ref: '#/components/schemas/PartitionOffset'
  2873. description: List of partition offsets to reset to, should be set when resetType is OFFSET
  2874. required:
  2875. - topic
  2876. - resetType
  2877. PartitionOffset:
  2878. type: object
  2879. properties:
  2880. partition:
  2881. type: integer
  2882. offset:
  2883. type: integer
  2884. format: int64
  2885. required:
  2886. - partition
  2887. ConsumerGroupOffsetsResetType:
  2888. type: string
  2889. enum:
  2890. - EARLIEST
  2891. - LATEST
  2892. - TIMESTAMP
  2893. - OFFSET
  2894. TaskStatus:
  2895. type: object
  2896. properties:
  2897. id:
  2898. type: integer
  2899. state:
  2900. $ref: '#/components/schemas/ConnectorTaskStatus'
  2901. worker_id:
  2902. type: string
  2903. trace:
  2904. type: string
  2905. required:
  2906. - id
  2907. - state
  2908. - worker_id
  2909. ConnectorStatus:
  2910. type: object
  2911. properties:
  2912. state:
  2913. $ref: '#/components/schemas/ConnectorState'
  2914. worker_id:
  2915. type: string
  2916. required:
  2917. - state
  2918. ConnectorTaskStatus:
  2919. type: string
  2920. enum:
  2921. - RUNNING
  2922. - FAILED
  2923. - PAUSED
  2924. - RESTARTING
  2925. - UNASSIGNED
  2926. ConnectorState:
  2927. type: string
  2928. enum:
  2929. - RUNNING
  2930. - FAILED
  2931. - PAUSED
  2932. - UNASSIGNED
  2933. - TASK_FAILED
  2934. ConnectorAction:
  2935. type: string
  2936. enum:
  2937. - RESTART
  2938. - RESTART_ALL_TASKS
  2939. - RESTART_FAILED_TASKS
  2940. - PAUSE
  2941. - RESUME
  2942. TaskAction:
  2943. type: string
  2944. enum:
  2945. - restart
  2946. ConnectorPlugin:
  2947. type: object
  2948. properties:
  2949. class:
  2950. type: string
  2951. ConnectorPluginConfigDefinition:
  2952. type: object
  2953. properties:
  2954. name:
  2955. type: string
  2956. type:
  2957. type: string
  2958. enum:
  2959. - BOOLEAN
  2960. - CLASS
  2961. - DOUBLE
  2962. - INT
  2963. - LIST
  2964. - LONG
  2965. - PASSWORD
  2966. - SHORT
  2967. - STRING
  2968. required:
  2969. type: boolean
  2970. default_value:
  2971. type: string
  2972. importance:
  2973. type: string
  2974. enum:
  2975. - LOW
  2976. - MEDIUM
  2977. - HIGH
  2978. documentation:
  2979. type: string
  2980. group:
  2981. type: string
  2982. width:
  2983. type: string
  2984. enum:
  2985. - SHORT
  2986. - MEDIUM
  2987. - LONG
  2988. - NONE
  2989. display_name:
  2990. type: string
  2991. dependents:
  2992. type: array
  2993. items:
  2994. type: string
  2995. order:
  2996. type: integer
  2997. ConnectorPluginConfigValue:
  2998. type: object
  2999. properties:
  3000. name:
  3001. type: string
  3002. value:
  3003. type: string
  3004. recommended_values:
  3005. type: array
  3006. items:
  3007. type: string
  3008. errors:
  3009. type: array
  3010. items:
  3011. type: string
  3012. visible:
  3013. type: boolean
  3014. ConnectorPluginConfig:
  3015. type: object
  3016. properties:
  3017. definition:
  3018. $ref: '#/components/schemas/ConnectorPluginConfigDefinition'
  3019. value:
  3020. $ref: '#/components/schemas/ConnectorPluginConfigValue'
  3021. ConnectorPluginConfigValidationResponse:
  3022. type: object
  3023. properties:
  3024. name:
  3025. type: string
  3026. error_count:
  3027. type: integer
  3028. groups:
  3029. type: array
  3030. items:
  3031. type: string
  3032. configs:
  3033. type: array
  3034. items:
  3035. $ref: '#/components/schemas/ConnectorPluginConfig'
  3036. KsqlCommandV2:
  3037. type: object
  3038. properties:
  3039. ksql:
  3040. type: string
  3041. streamsProperties:
  3042. type: object
  3043. additionalProperties:
  3044. type: string
  3045. required:
  3046. - ksql
  3047. KsqlCommandV2Response:
  3048. type: object
  3049. properties:
  3050. pipeId:
  3051. type: string
  3052. required:
  3053. - pipeId
  3054. KsqlTableDescription:
  3055. type: object
  3056. properties:
  3057. name:
  3058. type: string
  3059. topic:
  3060. type: string
  3061. keyFormat:
  3062. type: string
  3063. valueFormat:
  3064. type: string
  3065. isWindowed:
  3066. type: boolean
  3067. KsqlStreamDescription:
  3068. type: object
  3069. properties:
  3070. name:
  3071. type: string
  3072. topic:
  3073. type: string
  3074. keyFormat:
  3075. type: string
  3076. valueFormat:
  3077. type: string
  3078. KsqlResponse:
  3079. type: object
  3080. properties:
  3081. table:
  3082. $ref: '#/components/schemas/KsqlTableResponse'
  3083. KsqlTableResponse:
  3084. type: object
  3085. properties:
  3086. header:
  3087. type: string
  3088. columnNames:
  3089. type: array
  3090. items:
  3091. type: string
  3092. values:
  3093. type: array
  3094. items:
  3095. type: array
  3096. items:
  3097. type: object
  3098. FullConnectorInfo:
  3099. type: object
  3100. properties:
  3101. connect:
  3102. type: string
  3103. name:
  3104. type: string
  3105. connector_class:
  3106. type: string
  3107. type:
  3108. $ref: '#/components/schemas/ConnectorType'
  3109. topics:
  3110. type: array
  3111. items:
  3112. type: string
  3113. status:
  3114. $ref: '#/components/schemas/ConnectorStatus'
  3115. tasks_count:
  3116. type: integer
  3117. failed_tasks_count:
  3118. type: integer
  3119. required:
  3120. - name
  3121. - connect
  3122. - status
  3123. PartitionsIncrease:
  3124. type: object
  3125. properties:
  3126. totalPartitionsCount:
  3127. type: integer
  3128. minimum: 1
  3129. required:
  3130. - totalPartitionsCount
  3131. PartitionsIncreaseResponse:
  3132. type: object
  3133. properties:
  3134. totalPartitionsCount:
  3135. type: integer
  3136. topicName:
  3137. type: string
  3138. required:
  3139. - totalPartitionsCount
  3140. - topicName
  3141. ReplicationFactorChange:
  3142. type: object
  3143. properties:
  3144. totalReplicationFactor:
  3145. type: integer
  3146. required:
  3147. - totalReplicationFactor
  3148. ReplicationFactorChangeResponse:
  3149. type: object
  3150. properties:
  3151. totalReplicationFactor:
  3152. type: integer
  3153. topicName:
  3154. type: string
  3155. required:
  3156. - totalReplicationFactor
  3157. - topicName
  3158. BrokerConfigItem:
  3159. type: object
  3160. properties:
  3161. value:
  3162. type: string
  3163. BrokerConfig:
  3164. type: object
  3165. properties:
  3166. name:
  3167. type: string
  3168. value:
  3169. type: string
  3170. source:
  3171. $ref: '#/components/schemas/ConfigSource'
  3172. isSensitive:
  3173. type: boolean
  3174. isReadOnly:
  3175. type: boolean
  3176. synonyms:
  3177. type: array
  3178. items:
  3179. $ref: '#/components/schemas/ConfigSynonym'
  3180. required:
  3181. - name
  3182. - value
  3183. - source
  3184. - isSensitive
  3185. - isReadOnly
  3186. ConfigSource:
  3187. type: string
  3188. enum:
  3189. - DYNAMIC_TOPIC_CONFIG
  3190. - DYNAMIC_BROKER_LOGGER_CONFIG
  3191. - DYNAMIC_BROKER_CONFIG
  3192. - DYNAMIC_DEFAULT_BROKER_CONFIG
  3193. - STATIC_BROKER_CONFIG
  3194. - DEFAULT_CONFIG
  3195. - UNKNOWN
  3196. ConfigSynonym:
  3197. type: object
  3198. properties:
  3199. name:
  3200. type: string
  3201. value:
  3202. type: string
  3203. source:
  3204. $ref: '#/components/schemas/ConfigSource'
  3205. CleanUpPolicy:
  3206. type: string
  3207. enum:
  3208. - DELETE
  3209. - COMPACT
  3210. - COMPACT_DELETE
  3211. - UNKNOWN
  3212. AuthenticationInfo:
  3213. type: object
  3214. properties:
  3215. rbacEnabled:
  3216. type: boolean
  3217. description: true if role based access control is enabled and granular permission access is required
  3218. userInfo:
  3219. $ref: '#/components/schemas/UserInfo'
  3220. required:
  3221. - rbacEnabled
  3222. UserInfo:
  3223. type: object
  3224. properties:
  3225. username:
  3226. type: string
  3227. permissions:
  3228. type: array
  3229. items:
  3230. $ref: '#/components/schemas/UserPermission'
  3231. required:
  3232. - username
  3233. - permissions
  3234. UserPermission:
  3235. type: object
  3236. properties:
  3237. clusters:
  3238. type: array
  3239. items:
  3240. type: string
  3241. resource:
  3242. $ref: '#/components/schemas/ResourceType'
  3243. value:
  3244. type: string
  3245. actions:
  3246. type: array
  3247. items:
  3248. $ref: '#/components/schemas/Action'
  3249. required:
  3250. - clusters
  3251. - resource
  3252. - actions
  3253. Action:
  3254. type: string
  3255. enum:
  3256. - VIEW
  3257. - EDIT
  3258. - CREATE
  3259. - DELETE
  3260. - RESET_OFFSETS
  3261. - EXECUTE
  3262. - MODIFY_GLOBAL_COMPATIBILITY
  3263. - ANALYSIS_VIEW
  3264. - ANALYSIS_RUN
  3265. - MESSAGES_READ
  3266. - MESSAGES_PRODUCE
  3267. - MESSAGES_DELETE
  3268. ResourceType:
  3269. type: string
  3270. enum:
  3271. - APPLICATIONCONFIG
  3272. - CLUSTERCONFIG
  3273. - TOPIC
  3274. - CONSUMER
  3275. - SCHEMA
  3276. - CONNECT
  3277. - KSQL
  3278. RestartRequest:
  3279. type: object
  3280. properties:
  3281. config:
  3282. $ref: '#/components/schemas/ApplicationConfig'
  3283. UploadedFileInfo:
  3284. type: object
  3285. required: [location]
  3286. properties:
  3287. location:
  3288. type: string
  3289. ApplicationConfigValidation:
  3290. type: object
  3291. properties:
  3292. clusters:
  3293. type: object
  3294. additionalProperties:
  3295. $ref: '#/components/schemas/ClusterConfigValidation'
  3296. ApplicationPropertyValidation:
  3297. type: object
  3298. required: [error]
  3299. properties:
  3300. error:
  3301. type: boolean
  3302. errorMessage:
  3303. type: string
  3304. description: Contains error message if error = true
  3305. ClusterConfigValidation:
  3306. type: object
  3307. required: [kafka]
  3308. properties:
  3309. kafka:
  3310. $ref: '#/components/schemas/ApplicationPropertyValidation'
  3311. schemaRegistry:
  3312. $ref: '#/components/schemas/ApplicationPropertyValidation'
  3313. kafkaConnects:
  3314. type: object
  3315. additionalProperties:
  3316. $ref: '#/components/schemas/ApplicationPropertyValidation'
  3317. ksqldb:
  3318. $ref: '#/components/schemas/ApplicationPropertyValidation'
  3319. ApplicationConfig:
  3320. type: object
  3321. properties:
  3322. properties:
  3323. type: object
  3324. properties:
  3325. auth:
  3326. type: object
  3327. properties:
  3328. type:
  3329. type: string
  3330. oauth2:
  3331. type: object
  3332. properties:
  3333. client:
  3334. type: object
  3335. additionalProperties:
  3336. type: object
  3337. properties:
  3338. provider:
  3339. type: string
  3340. clientId:
  3341. type: string
  3342. clientSecret:
  3343. type: string
  3344. clientName:
  3345. type: string
  3346. redirectUri:
  3347. type: string
  3348. authorizationGrantType:
  3349. type: string
  3350. issuerUri:
  3351. type: string
  3352. authorizationUri:
  3353. type: string
  3354. tokenUri:
  3355. type: string
  3356. userInfoUri:
  3357. type: string
  3358. jwkSetUri:
  3359. type: string
  3360. userNameAttribute:
  3361. type: string
  3362. scope:
  3363. type: array
  3364. items:
  3365. type: string
  3366. customParams:
  3367. type: object
  3368. additionalProperties:
  3369. type: string
  3370. rbac:
  3371. type: object
  3372. properties:
  3373. roles:
  3374. type: array
  3375. items:
  3376. type: object
  3377. properties:
  3378. name:
  3379. type: string
  3380. clusters:
  3381. type: array
  3382. items:
  3383. type: string
  3384. subjects:
  3385. type: array
  3386. items:
  3387. type: object
  3388. properties:
  3389. provider:
  3390. type: string
  3391. type:
  3392. type: string
  3393. value:
  3394. type: string
  3395. permissions:
  3396. type: array
  3397. items:
  3398. type: object
  3399. properties:
  3400. resource:
  3401. $ref: '#/components/schemas/ResourceType'
  3402. value:
  3403. type: string
  3404. actions:
  3405. type: array
  3406. items:
  3407. $ref: '#/components/schemas/Action'
  3408. kafka:
  3409. type: object
  3410. properties:
  3411. clusters:
  3412. type: array
  3413. items:
  3414. type: object
  3415. properties:
  3416. name:
  3417. type: string
  3418. bootstrapServers:
  3419. type: string
  3420. ssl:
  3421. type: object
  3422. properties:
  3423. truststoreLocation:
  3424. type: string
  3425. truststorePassword:
  3426. type: string
  3427. schemaRegistry:
  3428. type: string
  3429. schemaRegistryAuth:
  3430. type: object
  3431. properties:
  3432. username:
  3433. type: string
  3434. password:
  3435. type: string
  3436. schemaRegistrySsl:
  3437. type: object
  3438. properties:
  3439. keystoreLocation:
  3440. type: string
  3441. keystorePassword:
  3442. type: string
  3443. ksqldbServer:
  3444. type: string
  3445. ksqldbServerSsl:
  3446. type: object
  3447. properties:
  3448. keystoreLocation:
  3449. type: string
  3450. keystorePassword:
  3451. type: string
  3452. ksqldbServerAuth:
  3453. type: object
  3454. properties:
  3455. username:
  3456. type: string
  3457. password:
  3458. type: string
  3459. kafkaConnect:
  3460. type: array
  3461. items:
  3462. type: object
  3463. properties:
  3464. name:
  3465. type: string
  3466. address:
  3467. type: string
  3468. username:
  3469. type: string
  3470. password:
  3471. type: string
  3472. keystoreLocation:
  3473. type: string
  3474. keystorePassword:
  3475. type: string
  3476. metrics:
  3477. type: object
  3478. properties:
  3479. type:
  3480. type: string
  3481. port:
  3482. type: integer
  3483. format: int32
  3484. ssl:
  3485. type: boolean
  3486. username:
  3487. type: string
  3488. password:
  3489. type: string
  3490. keystoreLocation:
  3491. type: string
  3492. keystorePassword:
  3493. type: string
  3494. properties:
  3495. type: object
  3496. additionalProperties: true
  3497. readOnly:
  3498. type: boolean
  3499. disableLogDirsCollection:
  3500. type: boolean
  3501. serde:
  3502. type: array
  3503. items:
  3504. type: object
  3505. properties:
  3506. name:
  3507. type: string
  3508. className:
  3509. type: string
  3510. filePath:
  3511. type: string
  3512. properties:
  3513. type: object
  3514. additionalProperties: true
  3515. topicKeysPattern:
  3516. type: string
  3517. topicValuesPattern:
  3518. type: string
  3519. defaultKeySerde:
  3520. type: string
  3521. defaultValueSerde:
  3522. type: string
  3523. masking:
  3524. type: array
  3525. items:
  3526. type: object
  3527. properties:
  3528. type:
  3529. type: string
  3530. enum:
  3531. - REMOVE
  3532. - MASK
  3533. - REPLACE
  3534. fields:
  3535. type: array
  3536. items:
  3537. type: string
  3538. pattern:
  3539. type: array
  3540. items:
  3541. type: string
  3542. replacement:
  3543. type: string
  3544. topicKeysPattern:
  3545. type: string
  3546. topicValuesPattern:
  3547. type: string
  3548. pollingThrottleRate:
  3549. type: integer
  3550. format: int64