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

#2681 : add messaging design pattern implementation with kafka #2712

Conversation

pandiandk
Copy link

Pull request title

Pull request description

  • Added the new code block for messaging pattern
  • added the readme and HLD-diagram for messaging pattern

For detailed contributing instructions see https://github.com/iluwatar/java-design-patterns/wiki/01.-How-to-contribute

pandiandk and others added 2 commits November 2, 2023 09:51
-- refactoring source, test
-- clean up in pom file
-- updated comments in source
-- refactoring the readme wiki
Copy link

sonarcloud bot commented Nov 2, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@pandiandk
Copy link
Author

@iluwatar please check the resolved commit as per your feedback

Copy link

stale bot commented Dec 2, 2023

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the status: stale issues and pull requests that have not had recent interaction label Dec 2, 2023
Copy link

stale bot commented Jan 17, 2024

Closed due to inactivity. Thank you for your contributions.

@stale stale bot closed this Jan 17, 2024
@iluwatar iluwatar reopened this Mar 9, 2024
@stale stale bot removed the status: stale issues and pull requests that have not had recent interaction label Mar 9, 2024

### Credits:
``` Chris Richardson ```
Experienced software architect, author of POJOs in Action, the creator of the original CloudFoundry.com
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Readme should follow the pattern template. See here: https://github.com/iluwatar/java-design-patterns/wiki/02.-Pattern-template Check out also the other design pattern readmes for examples.

$MAVEN_DEBUG_OPTS \
-classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \
"-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not needed, maven wrapper resides on the parent level


if "%MAVEN_TERMINATE_CMD%"=="on" exit %ERROR_CODE%

cmd /C exit /B %ERROR_CODE%
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not needed, maven wrapper resides on the parent level

Comment on lines +97 to +121
<plugin>
<groupId>com.iluwatar.urm</groupId>
<artifactId>urm-maven-plugin</artifactId>
<version>2.1.1</version>
<configuration>
<!-- if outputDirectory is not set explicitly it will default to your build dir -->
<outputDirectory>${project.basedir}/etc</outputDirectory>
<packages>
<param>com.iluwatar.messaging</param>
</packages>
<includeMainDirectory>true</includeMainDirectory>
<includeTestDirectory>false</includeTestDirectory>
<presenter>graphviz</presenter>
</configuration>
<executions>
<execution>
<phase>process-classes</phase>
<goals>
<goal>map</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This config is not needed here. The plugin is already configured on the parent level.


@Getter
@Setter
public class MenuItemIdAndQuantity {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


import java.util.List;

public class Order {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lot of boilerplate code here. Consider using Lombok's getter, setter, etc.


import java.util.List;

public class OrderRequest {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lot of boilerplate code here. Consider using Lombok's getter, setter, etc.

Copy link

sonarcloud bot commented Mar 9, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
C Maintainability Rating on New Code (required ≥ A)
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

Copy link

stale bot commented Apr 9, 2024

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the status: stale issues and pull requests that have not had recent interaction label Apr 9, 2024
Copy link

stale bot commented May 25, 2024

Closed due to inactivity. Thank you for your contributions.

@stale stale bot closed this May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: stale issues and pull requests that have not had recent interaction status: under review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants