Commit graph

99 commits

Author SHA1 Message Date
Marsel
20cbcd33e2
Issue#493 add authentication to schema registry (#679)
* adding basic authentication for SchemaRegistry

* checkstyle fix

* tests fix

* pull request fix

* pull request fixes

* replace string with constant

* adding documentation

Co-authored-by: marselakhmetov <makhmetov@provectus.com>
2021-07-23 18:52:15 +03:00
Roman Zabaluev
b296108e5b
Forward schema registry errors to API (#693)
* Forward schema registry errors to API

* Fix pr checks job
2021-07-21 15:54:31 +03:00
Marsel
cac9069774
Issue#634 clean up policy in topic list (#665)
* adding cleanup policy to InternalTopic

* adding CleanupPolicy enum

Co-authored-by: marselakhmetov <makhmetov@provectus.com>
2021-07-20 11:57:13 +03:00
Ildar Almakaev
5f4de1313d
Handle errors when creating topics and return custom one as BAD_REQUEST (#670) 2021-07-14 15:35:45 +03:00
Roman Zabaluev
9b6952c480
Implements #610 (#673) 2021-07-14 11:08:42 +03:00
Ilya Kuramshin
73d4e48941
Json Schema support (#651)
* Json schema support implementation

* comments & checkstyle

* unused mapper removed

* Explicit validation added

Co-authored-by: Ilya Kuramshin <ikuramshin@provectus.com>
2021-07-12 13:41:38 +03:00
German Osin
13463fe95f
Refactor consumer groups requests (#636)
* Refactor consumer groups requests

* Fixed offsets tests

* Moved state enum to separate class

* Adjust frontend for the new API

Co-authored-by: Alexander <mr.afigitelniychuvak@gmail.com>
2021-07-09 15:55:43 +03:00
Ilya Kuramshin
dd19cc2eec
Msg sending improvements (#640)
* init

* Messages sending fixes & tests

* Messages sending fixes & tests

* Messages sending json test added

* PR comments fixes

* Setting getTopicMessages & sendTopicMessage key value type to string.

* admin-client-timeout default removed

* sonar fix

* messages filtering changes to String.contains

Co-authored-by: Ilya Kuramshin <ikuramshin@provectus.com>
2021-07-09 15:53:30 +03:00
German Osin
71e1370deb
Provide topic offsets in list (#647) 2021-07-07 22:31:45 +03:00
Marsel
df1d3bbfc7
adding sorting parameter (#646)
Co-authored-by: marselakhmetov <makhmetov@provectus.com>
2021-07-07 18:50:27 +03:00
Marsel
0ec40dd7e4
Issue#314 replication factor change (#599)
* adding replication factor change feature

* adding comments for algorithm and some fixes

* small fix

* checkstyle fixes

* fix

* adding updateCluster endpoint and algorithm fixes

* hot fixes

* update algorithm and add brokers list to KafkaCluster

* pull request fix

Co-authored-by: marselakhmetov <makhmetov@provectus.com>
2021-07-07 17:59:52 +03:00
Ilya Kuramshin
66228b00d5
#234: Consumer group offsets reset implementation (#605)
* junit4 annotations replaced with jupiter

* Consumer group offsets reset implementation

* comments added, Sonar warn fix

* minor cleanup

* checkstyle fix

* PR comments fix

* API doc fix

* API path renamed

Co-authored-by: Ilya Kuramshin <ikuramshin@provectus.com>
2021-07-05 14:32:01 +03:00
German Osin
e3b2ea1052
Added cluster version to api (#609) 2021-07-02 15:33:52 +03:00
German Osin
ca476d3373
#122 Fixed compacted topics backward reading (#607) 2021-07-02 14:52:40 +03:00
Marsel
09ebd03e71
Issue#314 partitions count increase (#579)
* adding topic's partitions count increase

* adding tests

* making pull request fixes

* making pull request fixes

* adding checkstyle fix

* pull request fixes

* adding cluster update after increasing partitions

* pull requset fix

Co-authored-by: marselakhmetov <makhmetov@provectus.com>
2021-07-02 14:38:22 +03:00
German Osin
3fa2b995c6
#122 Fixed npe in backward emitter (#601) 2021-06-29 19:00:31 +03:00
German Osin
97ec512b00
#122 Fix emitter to consume records in right order (#598)
* #122 Fix emitter to consume records in right order

* Fixed naming
2021-06-29 09:52:18 +03:00
German Osin
1460fef68e
ISSUE-502 Send messages & avro key deserializer (#582)
* ISSUE-502 Send messages & avro key deserializer

* Fixed sonarcube issue

* Fixed sonarcube issues

* Schema endpoint & fixes

* fixed sonar issue
2021-06-28 09:54:20 +03:00
German Osin
1a916ab247
#581 Skip trailing slash (#586) 2021-06-25 15:39:07 +03:00
Ildar Almakaev
5dd3944faa
Add API to delete consumer group by id (#578)
* [issue-516] Add API to delete consumer groups by IDs

* Add more tests to check consumer groups deletions

* Refactor and fix code style

* Fix codestyle

* Rethrow OperationInterruptedException with 500 error code if a thread is interrupted

* Use SneakyTrhrows to handle InterruptedException. Refactor

* Change deletion of groups API to single group delete

* Fix codestyle

* Rollback changes in kafka-ui-react-app/package-lock.json
2021-06-23 20:47:32 +03:00
German Osin
de5a8652a1
#122 Added messages reording (#577) 2021-06-22 16:06:03 +03:00
German Osin
d3bf65cfb6
#122 Seek direction backend support (#562) 2021-06-18 11:56:14 +03:00
German Osin
723d552c23
Update StaticController.java
Fixed basepath replacer
2021-06-08 14:19:35 +03:00
German Osin
a1ee6a30c0
#518 Fixed backend page size (#523)
* #518 Fixed backend page size

* Fixedd tests
2021-06-03 19:44:42 +03:00
Rustam Gimadiev
fcc703ddd6
Add ability to use custom basePath (#511)
* add ability to use relative pathes

* Add basename prop (#513)

* add static controller

* add docker-compose

* Refactoring

* Refactoring

* fixed comparison bugs

* dirty

* clenaup

* Update React app

Co-authored-by: Alexander Krivonosov <31561808+GneyHabub@users.noreply.github.com>
Co-authored-by: German Osin <german.osin@gmail.com>
Co-authored-by: Oleg Shuralev <workshur@gmail.com>
2021-06-03 15:46:13 +03:00
Ildar Almakaev
721cf0e750
[Kafka Connect] Fix getting list of connector's topics (#504)
* [Kafka Connect] Fix getting list of connector's topics

* Fix code style in KafkaConnectService.java

* Fix code style
2021-05-31 12:30:29 +03:00
Jakub Štiller
69c034c793
Do not try to connect to zookeeper if connection string is empty (#428)
Co-authored-by: Jakub Štiller <stiller@2n.cz>
2021-05-13 10:11:38 +03:00
Marat Adiyatullin
a0b78f68df Merge master 2021-05-12 14:37:46 +03:00
Jakub Štiller
f156302c47 Remove default cluster configuration.
When this default cluster configuration is setup, user have to override complete first cluster. Eg have to set KAFKA_CLUSTERS_0_ZOOKEEPER to empty string to override default localhost.
2021-05-11 14:17:47 +03:00
German Osin
a427a55c30
ISSUE-408 Mark underscored topics as internal (#430)
* ISSUE-408 Mark underscored topics as internal

* ISSUE-408 Mark underscored topics as internal
2021-05-07 18:06:02 +03:00
Marat Adiyatullin
16e63f2c35 Add connect views 2021-05-03 13:33:53 +03:00
Ramazan Yapparov
f3c0866940
#187 added search and sorting (#388)
* - added search by topic name
- added filter by internal topics
- added sort by multiple columns
- added tests

* moved sorting later in the stream
2021-04-27 13:32:08 +03:00
Ramazan Yapparov
eef45fc6ab
#356 added endpoint to fetch all cluster connectors (#361)
* added endpoint to fetch all cluster connectors

* - refactoring code
- refactoring schema
- added connector class property
2021-04-15 11:15:25 +03:00
German Osin
7bfae45162
ISSUE-121 Topic level consumer groups & consumerr group details (#360) 2021-04-08 11:49:44 +03:00
Ildar Almakaev
e9a0a1af91
Get only numeric values of JMX metrics (#318)
* Use only numeric JMX metrics
* Propagate all exceptions from JmxClusterUtil.getJmxMetric to upper call
2021-03-31 12:34:43 +03:00
iliax
21a090f102
No such schema message formating fix (#316)
Co-authored-by: Ilya Kuramshin <ikuramshin@provectus.com>
2021-03-25 14:15:34 +03:00
iliax
8d2f929a52
ISSUE-309: Topic create & update models split (#312)
* ISSUE-309: Topic create & update models split
2021-03-25 11:24:51 +03:00
iliax
31fe89d1c9
ISSUE-297: Sonar warnings fixes (#298)
* ISSUE-297: Sonar warnings fixes
2021-03-23 21:54:03 +03:00
iliax
106c42e4cc
ISSUE-257: ErrorResponse format description (#294)
* ISSUE-257: ErrorResponse format description & processing added
2021-03-23 16:44:57 +03:00
iliax
992e8b0898
#253: Get messages implementation improvement (#286)
* 1. End offsets check added to RecordEmitter
2. Tests for OffsetsSeek, RecordEmitter added

* Tests improvements

* ISSUE-257: checkstyle

* ISSUE-257: withSchemaType sonar fix

* ISSUE-257: withSchemaType sonar fix

Co-authored-by: Ilya Kuramshin <ikuramshin@provectus.com>
2021-03-23 14:55:04 +03:00
German Osin
590bdfb610
Added checkstyle (#296) 2021-03-23 10:55:28 +03:00
Ramazan Yapparov
217b363076
added features field to kafka cluster (#256) 2021-03-18 21:16:59 +03:00
Ramazan Yapparov
a8ed4ff37f
#188 added pagination for get topics api (#249)
* added pagination for get topics api

* frontend fix

* - fixed merge conflicts
- renamed pageSize to perPage
2021-03-15 21:37:36 +03:00
German Osin
909e196011
Feature refactoring, structure simplifying (#250) 2021-03-15 17:41:25 +03:00
Ramazan Yapparov
881a2167b7
#211 Feature/clear topic messages (#241)
* added delete action

* added test for delete action

* added 404 status in contract

* fixed typo

* added partition parameter

* big refactoring
2021-03-15 11:51:33 +03:00
Ildar Almakaev
e02dd84491
#200 Update schema subject object (#229)
* Return id, version, schema, and subject after creating a new schema

* Throw 422 error code if incoming new schema is unprocessable entity due to invalid fields

* Return 409/Conflict error code if schema is duplicate. Change endpoint of createNewSchema method

* Fix submitting new subject or new version if the subject already exists

* Include schema type to schema objects. By default it's AVRO

* [ISSUE-200] Update FE to support new version of api

* Add one more schema-registry with version 5.5.0 to docker-compose files and app properties

* Upgrade Confluent service versions in tests up to 5.5.0

* Set schemaType is required and ignore when submitting to Schema Registry if it's NULL

Co-authored-by: Oleg Shuralev <workshur@gmail.com>
2021-03-10 15:14:15 +03:00
Ramazan Yapparov
58df6c1a7e
#222 Fix npe in consumer (#223)
* add null handling
* replaced hashmaps with immutable map in deserializer returns
* added simple test for previously failing case
2021-03-09 17:15:12 +03:00
Ramazan Yapparov
e29ea3599d
updated confluent images versions to 5.2.4 (#226) 2021-03-09 16:53:06 +03:00
Ramazan Yapparov
a9cb9567d6
#224 added deleteTopic operation api (#228)
* added deleteTopic operation

* added not found response
2021-03-04 17:51:18 +03:00
Ramazan Yapparov
ae1acbce9b
added wrapping to mono (#227) 2021-03-04 17:24:56 +03:00