Commit graph

69 commits

Author SHA1 Message Date
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
Ramazan Yapparov
be96bbc381
Testcontainers speedup and stabilization (#220)
* - moved testcontainers lifecycle control back to singleton
- changed kafka connect container wait strategy from logs to http

* refactoring

* reduced startup timeout to 5 minutes
2021-03-03 13:08:51 +03:00
Ramazan Yapparov
73f8991517
#164 readonly mode (#218)
* added ReadOnlyModeFilter

* added tests

* refactored kafka connect and schema registry tests
2021-03-01 19:51:58 +03:00
DementevNikita
4eb690d782
Fix kafka-ui image name in docker-compose file (#210)
* Fix kafka-ui image name in docker-compose file

* fix docker image name in pom.xml docker build section

* fix indentation
2021-03-01 15:20:20 +03:00
Ramazan Yapparov
377fa830c6
#163 Kafka connect crud (#182)
* - added kafka connect to docker-compose files
- added kafka connect property to application

* - added /connectors endpoint
- added /connectors/{name} endpoint

* - added /connectors/{name}/(restart/pause/resume) endpoints
- updated connector config model
- added FileStream connectors configs

* - added /connectors post endpoint

* - added all other kafka connect endpoints
- reverted config file

* - moved kafka connect related endpoints to separate tag/controller

* - added kafka connect container
- added simple test for kafka connect service
- added assertj dependency

* - added tests for KafkaConnectService

* - added more tests
- moved kafkaConnect rest client calls to separate class
- added validation

* - removed additional validation
- removed Client class
- removed client test and replaced with proper integration test
- added retries

* - cleanup

* moved to using generated kafka connect client

* updated rest schema

* added new maven clean plugin configuration so it deletes generated sources in kafka-ui-react-app/src directory

* changed restart/pause/resume action schema

* - added test
- refactoring

* added more error handling

* added more tests for error handling

* fixed schema registry tests

* changed /connect to /connects

* - fixed mutating connector object during getConnector request
- added new retrying kafka connect client with common retry logic
- fixed dependency scope

* - removed unnecessary `.cache()`

* - reverted testcontainers initialization code

* - added missing UNASSIGNED status to response enum

* - fixed configurations
- fixed testcontainers lifecycle management

* fixed application-local.yml
2021-02-26 15:48:04 +03:00
github-actions
655aa41a72 Increased version in pom.xml 2021-02-24 12:07:32 +00:00
Ildar Almakaev
6ec516345e
Issue-181 Refactor schema CRUD API (#192)
* Rename attribute 'schemaName' to 'subject' for consistency with Schema Registry terms

* Refactor 'GET /schemas' and 'GET .../schemas/{subject}/versions' to get the latest schemas data at once

* Fix getting error code from attributes in our custom GlobalErrorWebExceptionHandler
2021-02-15 11:52:44 +03:00
German Osin
b9e92114e6
Fixed Zookeeper connecion leak (#185) 2021-02-11 17:37:59 +03:00
Ildar Almakaev
ba4e1748ee
ISSUE-166 Pass ProtobufSchemaProvider to CachedSchemaRegistryClient to deserialize protobuf records (#178) 2021-02-10 22:28:32 +03:00
Ildar Almakaev
961d14454a
Add CRUD actions for Schema Registry service (#165)
* Map schema registry port to 8081 in kafka-clusters-only.yaml

* Add endpoint to retrieve subjects from schema registry by cluster name

* Add endpoint to retrieve subject versions from schema registry

* Get subject schema by version from schema-registry

* Add ability to create/delete schema subjects in/from schema-registry service

* Create WebClient bean and refactor its usage

* Refactor schema api contract

* Return 'Bad request' if there is 'Internal Server Error' from Schema Registry

* Add GET/PUT methods to get/update a schema compatibility level globally or only for a scepific schema

* Add SchemaRegistryContainer.java and testcontainers dependencies for integration tests

* Add junit-jupiter5 for testing

* Add GET/DELETE actions for the latest schema version

* Add endpoint to check schema compatibility

* Set up configuration for testing

* Add basic test for SchemaRegistryService

* Fix mapping from dto to web model

* Change createNewSchema action's endpoint

* Update tests in SchemaRegistryServiceTests

* Rename getLatestSchema method and update tests

* Add more test in SchemaRegistryServiceTests

* Include compatibility level info to schema response. Change Flux to Mono

* Update tests

* Pass schema-registry url for secondLocal cluster too

* Remove explicit returns of 404 status code (it'll be processed by global error handler)

* Add global error handler to response with exception details

* Autoconfigure WebTestClient in SchemaRegistryServiceTest
2021-02-09 10:40:11 +03:00
German Osin
481c321d06
ISSUE-169 Sort topics (#172) 2021-02-01 18:01:18 +03:00
66632
e2ca126354 Increased version in pom.xml 2021-01-22 11:14:20 +00:00
German Osin
c27dfb8ff9 Merge branch 'master' of github.com:provectus/kafka-ui 2021-01-20 14:38:05 +03:00
German Osin
4921f61457 Fixed npe 2021-01-20 14:37:52 +03:00
66632
c701a1763a Increased version in pom.xml 2021-01-20 09:40:13 +00:00
German Osin
1e249cb7a5 NPE check before metrics sum 2021-01-20 12:26:07 +03:00
German Osin
29887cb4e0 Hot fix polling 2020-12-14 13:08:57 +03:00
German Osin
cbc54f8416
Added custom properties & fixed reset policy (#134)
* Added custom properties support
2020-12-02 21:47:57 +03:00
soffest
9fd3697062
Kafka ui contract: Updated schemas required props. (#119)
* Updated schemas required props.

* Renamed long to int64 params

Co-authored-by: Sofia Shnaidman <sshnaidman@provectus.com>
Co-authored-by: German Osin <german.osin@gmail.com>
2020-11-19 15:38:28 +03:00
German Osin
d593e6f70e Fixed empty protobuf file 2020-11-12 14:16:43 +03:00
German Osin
238631ac0c
Protobuf support (#116)
* Added schema registry protobuf support

* Fixed detection

* Added support for local protobuf file

* Fixed minor issues
2020-11-10 09:43:28 +03:00
German Osin
3c196587a3
Fixed metrics and stats endpoints (#115) 2020-11-09 20:25:48 +03:00
German Osin
198c97403f
Update topic info after create/update ops (#114) 2020-11-09 14:24:45 +03:00
German Osin
88cc301bb6
Added common deserializer (#109) 2020-11-02 15:21:07 +03:00
66632
e9a6b52f2a Increased version in pom.xml 2020-10-30 15:00:38 +00:00
66632
2a743a5bf4 Increased version in pom.xml 2020-10-30 14:52:14 +00:00
66632
944fb19cb9 Increased version in pom.xml 2020-09-16 12:42:09 +00:00
German Osin
7e259c8528
Delete application-bet.yml 2020-08-18 14:07:34 +03:00
German Osin
a4f1908fb6 Small fixes 2020-08-18 14:01:06 +03:00
Anton Petrov
dce98a06a8
Fix cluster-only docker config (#99)
* Fix cluster-only docker config

* CI test

* CI test

* CI test

* Add replica back
2020-08-17 15:21:06 +03:00
Anton Petrov
bf23e9c193 Fix NPE if no offsets were found for specified timestamp 2020-08-11 17:23:37 +03:00
66632
dd5389cb1c Increased version in pom.xml 2020-08-05 13:26:31 +00:00
66632
7a4e7820f4 Increased version in pom.xml 2020-08-03 12:47:46 +00:00
German Osin
8057dc123f
Fixed bugs (#90)
* Fixed bugs

* More fixes
2020-08-03 15:40:58 +03:00
66632
bc2efc9bee Increased version in pom.xml 2020-08-03 07:50:57 +00:00
German Osin
f5bb336a75
Fixed initial config and docker images names (#89) 2020-08-03 10:39:19 +03:00
66632
cb0c1661da Increased version in pom.xml 2020-07-31 12:53:43 +00:00
Bulat Yusupov
ed08f278f9
moved tagging before creating release notes (#88)
Co-authored-by: Bulat Yusupov <byusupov@provectus.com>
2020-07-31 15:37:01 +03:00
66632
d96ec48cc3 Increased version in pom.xml 2020-07-31 12:08:47 +00:00
Bulat Yusupov
db6824d19e
Fixed ci/cd release notes (#87)
* initial commit

* added timestamps and email recipient

* Revert "added timestamps and email recipient"

This reverts commit 41085705

* added steps to Jenkins pipeline

* added steps to Jenkins pipeline

* added script for creating release notes

* fixed script for creating release notes

* fixed script for creating release notes

* Increased version

* Revert "Increased version"

This reverts commit 86949059

* added steps to Jenkins pipeline

* Increased version

* moved ci-cd from ci-cd branch to master

* Revert "Increased version"

This reverts commit 666ee948

* fixes in pipeline

* fixed version for docker

* fixed version for docker

* testing PR build

* testing PR build

* testing PR build

* testing PR build

* testing PR build

* added conditions to jenkinsfile

* testing PR build

* testing PR build

* testing PR build

* testing PR build

* testing PR build

* testing PR build

* testing PR build

* testing PR build

* testing PR build

* testing PR build

* testing PR build

* fixed release_json.sh script

* fixed release_json.sh script

* fixed release_json.sh script

* testing PR build

* testing PR build

* testing PR build

Co-authored-by: Bulat Yusupov <byusupov@provectus.com>
Co-authored-by: 66632 <>
2020-07-31 14:46:08 +03:00
66632
f0559d0646 Increased version in pom.xml 2020-07-31 07:48:57 +00:00
Roman Nedzvetskiy
efc35a9cfb
Backend jmx metrics (#64)
* Start doing endpoint for jmx metrics

* Added endpoint for getting jmx metric per broker

* Cluster jmx metrics sum endpoit added

* Added endpoints for cluster metrics and broker metrics

* Cleared some code

* Fixed jmxmetrics names

* Changed to all values in metrics

* Removed redundant imports

* Renamed param constant

* Changed to calculate brokers and clusters metrics in one place

* Removed redundant imports

* Fixed some mistakes

* Replaced multiple method usage into single

* Fixed mulptiple call

* Removed cluster level metrics, now only broker-level metrics in cluster

* Just small fixes

* removed redundant variable

* Renamed method for cluster level metrics

* Fixed after PR and added sum for number cluster metrics by num and persec keywords in canonicalname

* Added metricdto object

* Added list of metrics to enum

* Renames and optimizings

* Renamed jmxmetrics objects param to metrics

Co-authored-by: Roman Nedzvetskiy <roman@Romans-MacBook-Pro.local>
2020-07-30 14:03:07 +03:00
Roman Nedzvetskiy
66afaa4971
Added begin and end offset param (#78)
* Added begin and end offset param

* moved consumer to try with resources block

* Fixed some problems

* Moved to gettopicdetails

* Cleanup code

Co-authored-by: Roman Nedzvetskiy <roman@Romans-MacBook-Pro.local>
Co-authored-by: German Osin <german.osin@gmail.com>
2020-07-24 14:16:49 +03:00
Anton Petrov
5ad3f5ce79
Do not wait for a full batch if there's no messages in the topic (#77) 2020-07-09 12:40:39 +03:00
Anton Petrov
4ed5f2dd10
Add optional authentication (#67)
* Add optional authentication

* Add example config for Google OAuth
2020-07-07 14:46:33 +03:00
Roman Nedzvetskiy
84807405d6
Fixed issue with wrong parameter type (#65)
* Fixed issue with wrong parameter type

* Changed object to number

* Changede object to number jmx metrics

Co-authored-by: Roman Nedzvetskiy <roman@Romans-MacBook-Pro.local>
2020-06-25 14:32:45 +03:00
Anton Petrov
fd60bdafa8
Text search for topic messages (#62)
* Text search for topic messages

* Code optimization
2020-06-23 14:01:14 +03:00