* Add protobufMessageNameForKeyByTopic option to config. Message keys are
deserialized using a protobuf schema if the config is set. Otherwise
message keys are treated as strings.
Closes#1699
* Add documentation around kafkaui's protobuf support
* Add protobufMessageNameForKey config option
* Update README with info about default types
* Imeplement support for protobufMessageNameForKeyByTopic
* fallback to FALLBACK_FORMATTER
* Add ability to publish message with protobuf key
* Change log levels to debug and add @Nullable annotations
* Attempt at fixing documentation workflow
Co-authored-by: Ilya Kuramshin <ilia-2k@rambler.ru>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
Co-authored-by: Roman Zabaluev <github@haarolean.dev>
* Implementing Context to the Topic messages pages
* Using TopicContext in the Topics Topic MessageTable component
* Using TopicContext variable in the Filters component
* Fixing the Ordering of the Live mode Topic messaging
* Fixing isLive parameter bug during page refresh
* Minor code modification in Topic Filter Message page
* Implement the correct seekType during live mode in url as well as in api call
* Add Test cases to Messages and refactor eventSource Mock
* Add initial Testing file for messages table
* improve the MessagesTable test File
* improve the MessagesTable test File + Filter Test File
* improve the MessagesTable test File
* Change the function name toggleSeekDirection to changeSeekDirection
* change the name of the test suites to be more declarative
* Display the table progress bar in live mode only when no data is fetched
* Add Pagination to the ConsumerGroups Page
* Consumer Groups test suites minor code modifications
* Consumer Groups test Search results code
* Consumer Groups test Search with Api request
* Consumer Groups Search Logic
* Rename 'send' button to 'submit'
Signed-off-by: Roman Zabaluev <rzabaluev@provectus.com>
* fix the New spec test file for submit button name
Co-authored-by: Mgrdich <mgotm13@gmail.com>
* TimeToRetainBtn Fix Styling during non active state + write test suites for these components
* TimeToRetainBtn Fix Style during initial render phase
* TimeToRetainBtn Spec suites changes
* load topic after creation retry added
* TopicService.recreateTopic,cloneTopic formatting improved
* ALLOW_AUTO_CREATE_TOPICS_CONFIG set to false for all created consumers to avoid accidental topic creation
Co-authored-by: iliax <ikuramshin@provectus.com>
* Adding Consumer Groups Paged Reducer and action creator and get Selector logic
* Adding fetchConsumerGroupsPaged to the ConsumerGroups Paged
* Code refactoring and adding general fixtures For Consumer Group List
* Adding Container Redux Connect structure to the List of Consumer Groups
* Adding Selectors and action creators for orderBy and Sort Order
* Adding All Necessary components to render the smart Tables in Consumer Groups
* Adding SmartTable to the Consumer Groups page + fixing allSelectable Checkbox bug in the SmartTable Component
* Primitive Tests for ConsumerGroupsTableCells to test rendering and mockup the component and table data
* Finalizing Tests for consumer Groups table , minor code bug fix in the Consumer Groups table structure
* Adding Order By to the Consumer Groups Table , View part
* Adding order By to the Consumer Groups pages
* Adding order By to the Consumer Groups pages with SortBy functionality
* Code refactor in the ConsumerGroups component and its related tests
* Code refactor in the ConsumerGroups component and its related tests
* adding Tests in the Consumer Groups List
* Fixing the Sorting styling Bug in the Table order
* Adding additional Tests to the ConsumerGroups List tests
* Adding additional Tests for TableHeaderCell styled component
* Deleting obsolete codes from the consumer Groups Slice + minor table header test type fix
* Adding Tests for the consumerGroupSlice
* Adding Tests for the consumerGroupSlice
* Consumer Groups table minor code modifications
* Minor Code bug fixes in the SmartTable Component
* Revert "Issue-1184: fix logo link and remove redundant path segment "ui" (#1658)"
This reverts commit b08e22915d.
* changing them dashboard logo from an anchor tag to a react-router dom link
* Dashboard element redirect to the same place
* Add Recreate topic button in to list of Topic and Details topic Overview
* Add reducer and update test
* update reducer test
* update Topic/Details test
* Table and TableColumn components, TableState and DataSource
* Table: Migrate topics table to new Table component
* fix module paths
* test for propertyLookup
* improve useTableState code
* fix folder name
* improve table ordering
Co-authored-by: Anton Zorin <zorii4@Antons-MacBook-Pro.local>
Co-authored-by: Sash Stepanyan <sstepanyan@provectus.com>
Co-authored-by: Sasha Stepanyan <100123785+sasunprov@users.noreply.github.com>
* sse init
* sse refactoring
* checkstyle fix
* checkstyle fix
* refactor
* refactor
* api spec changes
* ReactiveAdminClient toMono fix
* moved to ksql/v2 request
* Updates Result renderer and Query SSE bugs
* Result renderer works
* Corretcly renders table and errors
* Changes the way getFormattedError formats message for error alert
* Adds common comp Header, Adds new component TableTitle, Changes PageHeading, LatestVersionItem and TableTitle to use Header comp, Adds error handling for KSQL SSE
* Changes functions to useCallbacks
* WIP: Fixes linter issue
* fixes
* WIP: Disables controls on request
* fixes
* WIP: Disabled editors look disabled, Updates snapshot
* WIP: Removes codesmell
* fixes
* fixes
* WIP: Adds eslint rules for react hooks, Fixes bug in ksqlDb query
* WIP: Fixes error with early return
* WIP: run to test if it builds
* WIP: Fixes error formating
* WIP: Fixes error message
* WIP: better error
* WIP: Fixes validation issues and now we can submit form with CMD + ENTER
* WIP: Initial tests
* WIP: More test for query
* WIP: rewrite to make things simpler
* WIP: Tests done
* WIP: More tests
* small improvement
* Test if sonar works
* Adds cases for TableRenderer
* Fixes test fro table renderer
* Changes sonar properties
* Adds cases for QueryForm.spec.tsx
* Adds cases to QueryForm.spec.tsx
* Updates Query.spec.tsx
* Adds small eventsource mock
* Adds test to QueryForm.spec.tsx
* Updates Query.spec.tsx
* Better error with empty response
Co-authored-by: Ekaterina Petrova <epetrova@provectus.com>
Co-authored-by: iliax <ikuramshin@provectus.com>
Co-authored-by: Ilya Kuramshin <ilia-2k@rambler.ru>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
Co-authored-by: Mgrdich <mgotm13@gmail.com>
Co-authored-by: Mgrdich <46796009+Mgrdich@users.noreply.github.com>
* smart filter creation
* fixing array deps warnings
* fixing array dep errors and infinite loop error
* fixing list item key issue
* adding tests for modals
* adding filterModal tests and fixing code smell in addFilter
* new test cases
* adding test cases
* adding test cases
* fixing code smell issue
* adding new test cases
* import fix
* minor code modifications AddFilter Testing
* minor code modifications FilterModal Testing
* adding AddEditFilterContainer Component for code to avoid code repetition initial
* adding AddEditFilterContainer Component for code to avoid code repetition
* adding AddEditFilterContainer Component moving the form validation and controlled components feature into the component
* adding AddEditFilterContainer Component minor code modifications + adding initial test file for AddEditFilterContainer component
* refactoring and minor modifications in the AddEditFilterContainer test files
* replace EditFilter body with the addEditContainer for general code structure
* Applying AddEditFilterContainer into the AddFilter component , minor EditFilter test typo fix.
* minor error messages view fix in the AddEditFilterContainer + adding testing in AddEditFilterContainer
* adding tests for AddEditFilterContainer component
* adding tests for AddEditFilterContainer component
* adding tests for AddFilter File
* Increasing the performance and the coverage of the tests in AddFilter
* Increasing the performance and the coverage of the tests in AddFilter to full capacity
* Removing the warnings from the AddFilter testing File
* Adding Test File To MessageContent styled file
* Adding Tests in the Filter Component
* Adding Tests in the Filter Component for Seek Selects
Co-authored-by: Mgrdich <mgotm13@gmail.com>
Co-authored-by: Mgrdich <46796009+Mgrdich@users.noreply.github.com>
Co-authored-by: Oleg Shur <workshur@gmail.com>
* Add failover support for Schema Registry
* Base schema id on primary node
* Made code thread safe
* Remove unnecessary synchronize
* Remove duplicated url field with InternalSchemaRegistry
* Fix maven warnings about dynamic versioning (#1559)
* Bump @types/react-redux from 7.1.18 to 7.1.22 in /kafka-ui-react-app (#1462)
Bumps [@types/react-redux](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-redux) from 7.1.18 to 7.1.22.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-redux)
---
updated-dependencies:
- dependency-name: "@types/react-redux"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump @types/jest from 27.0.3 to 27.4.0 in /kafka-ui-react-app (#1458)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 27.0.3 to 27.4.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)
---
updated-dependencies:
- dependency-name: "@types/jest"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Console banner updated (#1319)
* banner changed to fix new name
* width adjusted to 80 to fit all terminals
Co-authored-by: iliax <ikuramshin@provectus.com>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
* Add an example for SSL w/ kafka (#1568)
Signed-off-by: Roman Zabaluev <rzabaluev@provectus.com>
Co-authored-by: Ruslan Ibragimov <ruibragimov@provectus.com>
* Smart filters: Groovy script messages filter implementation (reopened) (#1547)
* groovy script messages filter added
* ISSUE-943: Topic messages tailing implementation (#1515)
* Topic messages tailing implementation
* Implemented topics sorting by size (#1539)
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
* [ISSUE-1512]Added sorting by topics size
* [ISSUE-1512]Added sorting by topics size
* Add sort by Size.Refactoring sort order
* correct a little mistake
* Improve test coverage
* got rid code dupliction
* refactoring
Co-authored-by: ValentinPrischepa <valentin.prischepa@gmail.com>
Co-authored-by: Anton Zorin <ant.zorin@gmail.com>
Co-authored-by: Oleg Shur <workshur@gmail.com>
* Implement recreating a topic
* [ISSUE-998][backend] Add functionality to re-create topic in one click
* [ISSUE-998][backend] Add functionality to re-create topic in one click
* [ISSUE-998][backend] Add functionality to re-create topic in one click
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
* Run the app in the container as a non-root user (#1575)
* Run as a non-root user. Fixes#1555
Signed-off-by: Roman Zabaluev <rzabaluev@provectus.com>
* Fix line break
Signed-off-by: Roman Zabaluev <rzabaluev@provectus.com>
Co-authored-by: Ruslan Ibragimov <94184844+5hin0bi@users.noreply.github.com>
* [FIXED issue/1545] added feedback to the user when a message content is copied to clipboard (#1570)
* added alert after "Copy to clipborad"
* moved main logic to useDataSaver
* fixed typographical mistake
* updated useDataSaver test
* made adaptive heigth in connectors config component (#1583)
Co-authored-by: Anton Zorin <zorii4@Antons-MacBook-Pro.local>
* Bump http-proxy-middleware from 2.0.1 to 2.0.3 in /kafka-ui-react-app (#1579)
Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) from 2.0.1 to 2.0.3.
- [Release notes](https://github.com/chimurai/http-proxy-middleware/releases)
- [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/master/CHANGELOG.md)
- [Commits](https://github.com/chimurai/http-proxy-middleware/compare/v2.0.1...v2.0.3)
---
updated-dependencies:
- dependency-name: http-proxy-middleware
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Allow running sonar within PR of a fork (#1581)
* Allow running sonar within PR of a fork
* remove github token from envs on mvn verify
* Wrap failover in Mono.as
* Use failoverable uri instead of primary node one for accessing the schemaregistry
* Added urls to similarly named configureWebClient methods
Co-authored-by: Jonas Geiregat (31198) <jonas.geiregat@tvh.com>
* Issue #1472 Added protection to prevent infinite loops when connection is in error with zookeeper
* Issue #1472 Added protection to prevent infinite loops when connection is in error with zookeeper
* Issue #1472 Added protection to prevent infinite loops when connection is in error with zookeeper
* Issue #1472 corrected checkStyle error
* Issue #1472 corrected bug
* Get rid of a successful test
this will always fail since it's not an integration test
* Fix test
Signed-off-by: Roman Zabaluev <rzabaluev@provectus.com>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
* live tailing
* addind test case
* fixing useffect array deps
* adding test cases for select
* adding test cases for filters
* deleting unused code
* adding test case for filter