Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

equalize dev branch with master #134

Closed
wants to merge 78 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
7825230
Merge pull request #124 from leroy-merlin-br/develop
orlandocavassani Dec 23, 2022
3cc7486
chore: add php 8 support
GetulioMeirelles Apr 4, 2023
7034a34
chore(workflow): drop 7.4 and add 8.2
GetulioMeirelles Jul 25, 2023
cc86844
chore(deps): bump packages
orlandocavassani Aug 11, 2023
f06105e
Merge pull request #128 from leroy-merlin-br/chore/bump-packages
orlandocavassani Aug 11, 2023
3676365
feat: improve config to accept max pool interval ms
GetulioMR Aug 24, 2023
530f03b
Merge pull request #130 from leroy-merlin-br/feat/improve-config-to-a…
GetulioMR Sep 4, 2023
7e50037
chore(configOptions): add ConfigOptions command to ServiceProvider
hcdias Jan 31, 2022
ab06105
chore(configOptions): call new configOptions artisan command
hcdias Jan 31, 2022
571eeb0
chore(configOptions): add ConfigOptionsCommand
hcdias Jan 31, 2022
76f4ae3
chore: make config manager with config options
djonasm Jan 31, 2022
6434530
chore: replace config manager to config options
djonasm Jan 31, 2022
cc761f3
chore: migrate Avro to use ConfigOptions\AvroSchema
djonasm Feb 1, 2022
de4331c
chore: migrate Aith factory to use config options
djonasm Feb 1, 2022
4147c57
chore: remove configManager and add Sasl config class
hcdias Feb 1, 2022
2ff2aa2
chore: remove configManager and add SSL config class
hcdias Feb 1, 2022
0628b30
chore: fix code standard with phpcbf
hcdias Feb 1, 2022
602bcbd
chore: debug config options
hcdias Mar 7, 2022
56f721b
chore: debug config options
hcdias Mar 9, 2022
e90d589
chore: create interfaces for classes
hcdias Mar 10, 2022
5922eee
chore: update calls from configManager to configOptions
hcdias Mar 10, 2022
65efb98
chore: add interfaces
hcdias Mar 10, 2022
579703e
chore: add AvroSchemaMixedEncoderTest
hcdias Mar 10, 2022
b91b387
chore: remove inutilized interfaces
hcdias Mar 21, 2022
8ac1a92
chore: add method to get consumerGroupId
hcdias Mar 21, 2022
e97bf42
chore: replace configManager by configOptions
hcdias Mar 21, 2022
505c21c
fix: update consumer middlewares
djonasm Mar 21, 2022
36042da
fix: get and set options from consumer command
hcdias Mar 23, 2022
2a02ecf
chore: remove inutilized code
hcdias Mar 23, 2022
75c1852
chore: create public variable for message
hcdias Mar 23, 2022
589f9a1
chore: create public variable for message
hcdias Mar 23, 2022
8569e1d
chore: create public variable for message
hcdias Mar 23, 2022
e67052e
fix: change parameter order
hcdias Mar 23, 2022
981526b
docs: add CHANGELOG file
hcdias Mar 23, 2022
5edaa00
docs: add CHANGELOG file
hcdias Mar 23, 2022
506731b
chore: rename parameter from 'producer' to 'configOptions'
hcdias Mar 24, 2022
ed2ec84
chore: remove annotation
hcdias Mar 24, 2022
52c5903
chore: update middleware resolution on consumerCommand
hcdias Mar 24, 2022
c2b2c08
chore: remove ManageTest
hcdias Mar 25, 2022
d2b7199
chore: remove occurrences of ConsumerConfigManager
hcdias Mar 25, 2022
b5eeb20
chore: remove TODO comment
hcdias Mar 25, 2022
7ad9a61
chore: remove ProducerConfigManager occurences
hcdias Mar 25, 2022
430148d
chore: remove unecessary interface
hcdias Apr 19, 2022
6ebcc93
chore: remove unecessary code block
hcdias Apr 19, 2022
f1598e2
chore: define constant visibility
hcdias Apr 19, 2022
f7bc970
chore: change config file format
hcdias Apr 1, 2022
cc0d3ec
chore: adjust tests to match new config file format
hcdias Apr 1, 2022
4c1e0a4
chore: update docs
hcdias Apr 4, 2022
7b538bc
chore: update console parameters
hcdias Apr 4, 2022
c00a633
chore: remove unused method
hcdias Apr 4, 2022
da8228e
chore: add how to use data objects
hcdias Apr 4, 2022
fbb9168
chore: remove blank spaces
hcdias Apr 4, 2022
dba78f5
chore: fix codacy warnings
hcdias Apr 4, 2022
e21ebbd
chore: fix codacy warnings
hcdias Apr 4, 2022
3634104
docs: add commens explaining parameters
hcdias Apr 4, 2022
472b0c9
docs: document finished method
hcdias Apr 4, 2022
cf3c17a
docs: add anchor to section
hcdias Apr 4, 2022
984d80b
chore: remove blank spaces on docs
hcdias Apr 5, 2022
559df12
chore: fix codacy
hcdias Apr 5, 2022
f4d12b9
Update docs/quick-usage.md
hcdias Apr 7, 2022
dd50c5f
fix(codacy): fix codacy warnings
hcdias Apr 25, 2022
4b6b0ba
docs: add upgrade guide
hcdias May 3, 2022
c1ca85a
fix: add handleMiddlewares method
hcdias Apr 5, 2023
ba3a99c
style: fix coding standard violations
hcdias Oct 9, 2023
cfdd4a7
style: fix coding standard violations
hcdias Oct 9, 2023
727d31f
style: supress phpcs typehing warning
hcdias Oct 9, 2023
e1d7e89
style: supress phpcs typehing warning
hcdias Oct 9, 2023
5954a6a
chore: remove call to inexistent method
hcdias Oct 9, 2023
edd6321
chore: supress psalm alert
hcdias Oct 9, 2023
0339538
tests: remove configManager related tests
hcdias Oct 9, 2023
d026b4a
gha: update kafka broker connection
hcdias Oct 9, 2023
c056034
gha: undo update kafka broker connection
hcdias Oct 9, 2023
9d5392e
fix(tests): get connection by env
GetulioMR Oct 10, 2023
a10f0d6
test(producer): add expect not to perform assertion
GetulioMR Oct 10, 2023
377b2e4
fix(tests): enable to get broker connection from env
GetulioMR Oct 10, 2023
b792fe0
fix(tests): enable to get broker connection from env
GetulioMR Oct 10, 2023
c0c368e
fix(tests): adjust mock expectations
GetulioMR Oct 10, 2023
0428873
chore: add max poll interval on configOptions
hcdias Oct 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
strategy:
matrix:
php:
- '7.4'
- '8.0'
- '8.1'
- '8.2'
env:
KAFKA_BROKER_CONNECTIONS: 'localhost:9092'
services:
Expand Down
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

### Added

- Added AvroSchemaMixedEncoderTest
- Added AvroSchemaDecoderTest
- Added ProducerWithConfigOptionsTest
- Added ConfigOptionsCommand to run commands with ConfigOptions class
- Added pt_BR contributing section
- Added setup-dev script on composer
- Added grumphp commit validation

### Fixed

- Fixed parameters and options override on Consumer\Config class
- Update instructions on contribute section
- Update project install section

### Changed

- Updated class from ConfigManager to ConfigOptions on unit tests
- Updated class from ConfigManager to ConfigOptions where any config request was made
- Consumer and Producer middlewares resolution
18 changes: 9 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@
"ext-rdkafka": ">=4.0",
"ext-json": "*",
"guzzlehttp/guzzle": "^6.5.0 || ^7.0",
"illuminate/support": "^5.5 || ^6.0 || ^7.0 || ^8.0",
"illuminate/console": "^5.5 || ^6.0 || ^7.0 || ^8.0",
"illuminate/config": "^5.5 || ^6.0 || ^7.0 || ^8.0",
"php": ">=7.4",
"wikimedia/avro": "^1.9.0"
"illuminate/support": "^9.0 || ^10.0",
"illuminate/console": "^9.0 || ^10.0",
"illuminate/config": "^9.0 || ^10.0",
"php": "^8.0",
"rg/avro-php": "^3.0"
},
"require-dev": {
"leroy-merlin-br/coding-standard": "^v3.1.0",
"phpunit/phpunit": "^9.5.27",
"mockery/mockery": "^1.5.1",
"phpunit/phpunit": "^9.6.10",
"mockery/mockery": "^1.6.6",
"kwn/php-rdkafka-stubs": "^2.2.1",
"orchestra/testbench": "^6.25.1",
"orchestra/testbench": "^7.0|^8.0",
"dms/phpunit-arraysubset-asserts": "^0.2.1",
"phpro/grumphp": "^1.13.0",
"phpro/grumphp": "^1.16.0",
"vimeo/psalm": "^4.30.0",
"psalm/plugin-mockery": "^0.9.1",
"rector/rector": "^0.13.10"
Expand Down
Loading