Skip to content

[Chapter 13 - MicroProfile Reactive Messaging 3.0] Adding new chapter for MP Reactive Messaging 3.0#69

Open
ttelang wants to merge 4 commits into
microprofile:mainfrom
ttelang:mp-reactive-messaging-3.0.1
Open

[Chapter 13 - MicroProfile Reactive Messaging 3.0] Adding new chapter for MP Reactive Messaging 3.0#69
ttelang wants to merge 4 commits into
microprofile:mainfrom
ttelang:mp-reactive-messaging-3.0.1

Conversation

@ttelang
Copy link
Copy Markdown
Contributor

@ttelang ttelang commented Apr 5, 2026

Adding chapter 13 about MP Reactive Messaging. It covers the following topics.

  • Event-driven architecture (EDA) overview
  • Reactive Streams fundamentals
  • Adding dependencies (Maven, Gradle, and connector dependencies)
  • Defining messaging logic with CDI beans
  • Leveraging CDI features in messaging beans
  • Channels and wiring
  • Declarative messaging with @Incoming and @Outgoing
  • Supported method signatures and message processing patterns
  • Programmatic messaging with @Channel and @Emitter
  • Managing backpressure in reactive messaging
  • Integration with other MicroProfile specifications
  • Reactive stream operations
  • Graph Validation and Deployment Checks

Adding chapter 13 about MP Reactive Messaging. It covers the following topics. 

* Event-driven architecture (EDA) overview
* Reactive Streams fundamentals
* Adding dependencies (Maven, Gradle, and connector dependencies)
* Defining messaging logic with CDI beans
* Leveraging CDI features in messaging beans
* Channels and wiring
* Declarative messaging with `@Incoming` and `@Outgoing`
* Supported method signatures and message processing patterns
* Programmatic messaging with `@Channel` and `@Emitter`
* Managing backpressure in reactive messaging
* Integration with other MicroProfile specifications
* Reactive stream operations
* Graph Validation and Deployment Checks
@ttelang ttelang marked this pull request as ready for review April 5, 2026 12:59
@ttelang ttelang changed the title Adding content for chapter 13 about MP Reactive Messaging [Chapter 13 - MicroProfile Reactive Messaging] Adding new chapter for MP Reactive Messaging Apr 7, 2026
@ttelang ttelang changed the title [Chapter 13 - MicroProfile Reactive Messaging] Adding new chapter for MP Reactive Messaging [Chapter 13 - MicroProfile Reactive Messaging 3.0] Adding new chapter for MP Reactive Messaging 3.0 Apr 7, 2026
Comment thread modules/ROOT/pages/chapter13/chapter13.adoc
Uni.createFrom().nullItem()
.onItem().delayIt().by(Duration.ofMillis(100))
)
.onItem().transformToMultiAndConcatenate(Multi::createFrom().iterable);
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This is not valid Java.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I believe you meant: .onItem().transformToMultiAndConcatenate(batch -> Multi.createFrom().iterable(batch))

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I believe you meant: .onItem().transformToMultiAndConcatenate(batch -> Multi.createFrom().iterable(batch))

Yes, would changing it to .onItem().transformToMultiAndConcatenate(Multi.createFrom()::iterable); as batch being a std. List object, it will be implicitly passed by Java under the hood.

Comment thread modules/ROOT/pages/chapter13/chapter13.adoc Outdated
Comment thread modules/ROOT/pages/chapter13/chapter13.adoc Outdated
Comment thread modules/ROOT/pages/chapter13/chapter13.adoc Outdated
Comment thread modules/ROOT/pages/chapter13/chapter13.adoc Outdated
Comment thread modules/ROOT/pages/chapter13/chapter13.adoc Outdated
[source,properties]
----
# Shared broker address for all channels
mp.messaging.connector.liberty-kafka.bootstrap.servers=localhost:9092
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

If your examples use the liberty Kafka connector, I have no idea how it works, what's allowed and what is not.

Comment thread modules/ROOT/pages/chapter13/chapter13.adoc Outdated
Comment thread modules/ROOT/pages/chapter13/chapter13.adoc Outdated
ttelang and others added 3 commits May 20, 2026 17:23
Co-authored-by: Clement Escoffier <clement.escoffier@gmail.com>
Co-authored-by: Clement Escoffier <clement.escoffier@gmail.com>
Update chapter13.adoc based on review feedbacks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants