Commit graph

1664 commits

Author SHA1 Message Date
Ilya Kuramshin
062367efcc
1. stacktrace field added to error responses (#1145)
1. stacktrace field added to error responses (#1145)
2. lastError added to Cluster responce
3. blocking metrics initialization on startup changed to async init (returned to prev behavior)
2021-11-30 13:07:51 +03:00
Roman Zabaluev
960f0a050d
Bump jackson-databind-nullable 2021-11-29 21:48:45 +03:00
Ilya Kuramshin
4d3db7a7de
AdminClient creation error handling fix
1. AdminClient error logging added (#1136)
2. MetricsService error handling fixed
2021-11-29 12:44:49 +03:00
Ilya Kuramshin
d674808f3c
ISSUE-1128: Add respect to cluster's order in ClustersStorage (#1130)
* add respect to cluster's order in ClustersStorage
* minor cleaning
2021-11-26 14:50:32 +03:00
Davide Madrisan
53a641cb58
Set the actual logging levels
* The highest logging level is "trace", not "all"

The value "all" for LOGGING_LEVEL_ROOT is logged as invalid at startup:
java.lang.IllegalArgumentException: No enum constant org.springframework.boot.logging.LogLevel.all

* Add trace logging level

* Revert "Add trace logging level"

This reverts commit a0eb52f304.

Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2021-11-24 20:34:53 +03:00
Ilya Kuramshin
0cc39fcd7f
using AdminClient for offsets retrieval instead of Consumer (#1123)
Co-authored-by: iliax <ikuramshin@provectus.com>
2021-11-24 14:44:26 +03:00
azatsafin
5e1e87140a
change_git_credentials_2shared_account (#1122)
Co-authored-by: Azat Safin <azsafin@provectus.com>
2021-11-22 15:27:30 +03:00
azatsafin
35c4de66e1
small fixes for custom build workflow (#1110)
Co-authored-by: Azat Safin <azsafin@provectus.com>
2021-11-19 11:49:33 +03:00
azatsafin
847b6ba074
Workflows to deploy and remove custom env from branches (#1108)
* Bump tmpl from 1.0.4 to 1.0.5 in /kafka-ui-react-app (#1078)

* Bump tmpl from 1.0.4 to 1.0.5 in /kafka-ui-react-app

Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* npm audit fix was run for tests fix

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kamila Alekbaeva <kalekbaeva@provectus.com>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>

* test image build

* custom env deploy remove github workflows

* Update branch-remove.yml

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kamila Alekbaeva <kalekbaeva@provectus.com>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
Co-authored-by: Azat Safin <azsafin@provectus.com>
2021-11-19 10:09:13 +03:00
German Osin
d712d33c79
Fixed segment size display on details page (#1107) 2021-11-19 03:05:37 +03:00
Roman Zabaluev
352760b1b3
Bump avro dependency version (#1090) 2021-11-18 00:24:41 +03:00
Roman Zabaluev
80edb425d5
Setup security policy 2021-11-18 00:24:24 +03:00
Ilya Kuramshin
43a0e383cf
Metrics & cache refactoring (#1036)
Metrics retrieval refactoring:
* metrics data moved to separate class with its own storage
* topics list pagination logic changed for better actuality
* some mappings moved to InternalXXX classed
2021-11-17 13:10:55 +03:00
Oleg Shur
7213bbdf7a
Get rid of node-sass. Ability to run UI using proxy(#1099)
* Get rid of node-sass

* Add an ability to run app using proxy
2021-11-17 12:57:38 +03:00
azatsafin
7bd2a6c41c
Start use auto-updated deployment (#1091)
This commit are changing:
- Stop auto-update in edu account
- Start updates in kafka-ui 
based on commits to master
2021-11-16 12:58:19 +03:00
azatsafin
d6ada34a7e
fix health/readiness path
fix health/readiness path in order to align current development,
We decided to make specific health path to check service availability even if kafka-ui configured with authorization.
/actuator/health return 2XX codes despite of authorization settings

(cherry picked from commit b05bd69aa1)
2021-11-16 03:20:26 +03:00
dependabot[bot]
53f9090135
Bump tar from 6.1.0 to 6.1.11 in /kafka-ui-react-app (#1079)
Bump eslint-import-resolver-node in /kafka-ui-react-app (#1087)
Bump @types/react from 17.0.16 to 17.0.34 in /kafka-ui-react-app (#1055)
Bump @types/jest from 26.0.24 to 27.0.2 in /kafka-ui-react-app (#910)
Bump @types/node from 16.4.13 to 16.11.7 in /kafka-ui-react-app (#1088)
Bump ts-node from 10.2.0 to 10.4.0 in /kafka-ui-react-app (#1006)
Bump @types/react-datepicker from 4.1.4 to 4.3.0 in /kafka-ui-react-app (#1086)
Bump eslint-plugin-import from 2.24.0 to 2.25.3 in /kafka-ui-react-app (#1087)
Bump @types/node-fetch from 2.5.12 to 3.0.3 in /kafka-ui-react-app (#1004)
Bump @hookform/resolvers from 2.7.1 to 2.8.3 in /kafka-ui-react-app (#1057)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kamila Alekbaeva <kalekbaeva@provectus.com>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2021-11-16 03:19:38 +03:00
Roman Zabaluev
6c9f7f7b77
Fix jar hell 2021-11-13 18:38:13 +03:00
RustamGimadiev
01f04d38d4 add platforms for docker build step 2021-11-13 00:40:39 +03:00
Roman Zabaluev
e021d97194
Enable spring boot actuators 2021-11-12 14:23:03 +03:00
Roman Zabaluev
7603199e53
Fix 4w time to retain selector value 2021-11-09 15:09:09 +03:00
JASKEERAT SINGH
3c9eb824ca
Create a gh action for the first time contributors 2021-11-08 22:47:27 +03:00
Roman Zabaluev
289791ad85
Update docker-compose.md
indicate that we have a lot of files for more complex setups
2021-11-01 20:32:05 +03:00
Alexander Krivonosov
45a2fc2b47
Fix topics pagination (#1041)
* Fix topics search
2021-11-01 17:51:49 +03:00
Si Tang
c986bc178c
Sanitize credentials in Kafka Connector configs
* #980: sanitize credentials in Kafka Connector configs. Add a warning to edit page when people try to edit configs with obfuscated field

* #980: make sanitizer patterns configurable

* #980 fix using stream pattern

Co-authored-by: Si Tang <si@indeed.com>
2021-10-30 13:42:08 +03:00
Ildar Almakaev
7f52a0b40e
Add ksqlDB as a service to docker-compose file kafka-ui-connectors.yaml (#1028) 2021-10-29 14:41:44 +03:00
Ilya Kuramshin
627885d0ec
Metrics collection refactoring
* BE Services split:
* Unrelated logic moved from ClusterService to proper services
* KafkaCluster existence check moved to controllers level
* useless interfaces removed

* ConsumingService merged into MessagesService

* sonar fix

* PR fixes

* methods rename

* checkstyle fix

* wip

* wip

* wip

* wip

* wip

* wip

* getTopicDetails partitions set returned

* compilation fix

* Disk usage fields fixes

* typo & unused removal

* features retrieval returned

Co-authored-by: Ilya Kuramshin <ikuramshin@provectus.com>
2021-10-28 11:55:43 +03:00
Ilya Kuramshin
c5e5717a98
Handling for 404 responses from connect added (#1025)
* handling for 404 responses from connect added
* connector name uniqness check added (#1026)
2021-10-27 21:31:15 +03:00
Si Tang
7b62af1fa2
Hide 'Clear All Messages' button on topics with non-delete policy
* #992: hide 'Clear All Messages' button on topics which are not delete policy, as it's not supported by AdminClient

* #992 remove console.log and use type
2021-10-27 15:10:57 +03:00
Si Tang
94112f151b
Upgrade Junit version 2021-10-27 13:06:53 +03:00
yamsroun
40fa5e63dc
Typo fixed (Gropup -> Group) 2021-10-27 13:04:36 +03:00
Alexander Krivonosov
cfa4e11506
Skip schema validation if type is string 2021-10-26 14:39:55 +03:00
Si Tang
7bd3fdd152
Upgrade Spring Boot to 2.5.6
* #931: upgrade Spring Boot to 2.5.6

* #931: add spring-boot-starter-validation dependency
2021-10-26 14:38:25 +03:00
Ilya Kuramshin
83fba5aca3
onTopicXXX methods refactored to use only cluster name. This is important because cluster instance send as parameter can be outdated in case of simultaneous updates (#1012) 2021-10-25 21:10:59 +03:00
Alexander Krivonosov
9eb96dc59a
Fix custom params list after removing (#1011) 2021-10-25 15:22:48 +03:00
Ilya Kuramshin
335e0ea983
ISSUE-993: Cluster names validation moved to ClustersProperties, added default n… (#1010) 2021-10-25 14:51:01 +03:00
Roman Zabaluev
77226a2144
Support "compact,delete" cleanup policy (#983)
* Fix #973

* Fix topic edition errors

Fixed two errors
1. The error with cleanup policy. Since some of the custom params (like, cleanup policy) are moved to the general form, we were not supposed to add them to the custom params section. Added filtration for this.
2. Fixed the variable name for  Min In Sync Replicas to match the name in the contract

Co-authored-by: Alexander <mr.afigitelniychuvak@gmail.com>
2021-10-25 13:40:50 +03:00
Stuart Hinson
cf3708a3e1
Sort topic params (#994) 2021-10-25 13:36:52 +03:00
Anna Antipova
8a36af12b1
Checks/fix e2e tests (#987)
* #626 fix delete topic test

* #626 increase waiting time for topic update

* #626 increase the waiting time for the topic update to 5 minutes

* #626 delete refreshing pages for update topic test
2021-10-20 12:21:45 +03:00
Si Tang
547863fdb2
Fixed protobuf schema rendering
Fixed the duplicate key problem on schema list

Co-authored-by: Si Tang <si@indeed.com>
2021-10-15 16:16:45 +03:00
Roman Zabaluev
576f5d5b15
Update stale bot configuration
Consider stale just the pending issues
2021-10-14 22:37:58 +03:00
Roman Zabaluev
4235b27b15
Create a config for stale bot 2021-10-14 18:04:56 +03:00
Roman Zabaluev
200eda1244
Update readme, add discord badge&link 2021-10-14 16:30:55 +03:00
German Osin
4339841771
Changed consumer groups request logic for better performance (#965)
* Changed consumer groups request logic for better performance

* Fixed checkstyle
2021-10-14 11:52:58 +03:00
Ilya Kuramshin
d0f63aeaa0
BE Services split (#964)
BE Services split:
* Unrelated logic moved from ClusterService to proper services
* KafkaCluster existence check moved to controllers level
* useless interfaces removed
2021-10-14 10:05:07 +03:00
Si Tang
ad19571eca
Make schema definitions collapsible
and set max lines for displaying schemas (#905) (#963)
Co-authored-by: Si Tang <si@indeed.com>
2021-10-13 15:54:43 +03:00
Ilya Kuramshin
7abf5db187
unnecessary option passing removed (#958)
Co-authored-by: Ilya Kuramshin <ikuramshin@provectus.com>
2021-10-11 15:46:17 +03:00
Alexander Krivonosov
e8fb5d3241
Fix message validation (#957) 2021-10-11 13:33:55 +03:00
Marat Chukmarov
d5289e1d13
[hotfix]: typo in consumer groups error message (#952)
Co-authored-by: Марат Чукмаров <mchukmarov@infotech.team>
2021-10-09 15:31:34 +03:00
Ilya Kuramshin
b05da3373e
[BE Refactoring] Reactive admin client (#882)
* All AdminClient interactions moved to ReactiveAdminClient
2021-10-08 21:33:36 +03:00