Skip to content

feat(content): publish content.published lifecycle events#31

Merged
poyrazK merged 4 commits intomainfrom
feat/content-published-event
Apr 6, 2026
Merged

feat(content): publish content.published lifecycle events#31
poyrazK merged 4 commits intomainfrom
feat/content-published-event

Conversation

@poyrazK
Copy link
Copy Markdown
Owner

@poyrazK poyrazK commented Apr 6, 2026

Summary

  • add content-service event publisher foundation with Kafka-backed and no-op implementations, plus topic/config wiring
  • emit content.published envelope+payload after successful publish transitions in content-service
  • add integration/unit coverage for event emission behavior and envelope shape; update REST contract note for publish event output

Verification

  • mvn -pl content-service spotless:apply checkstyle:check
  • mvn -pl content-service test

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 6, 2026

Warning

Rate limit exceeded

@poyrazK has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 23 minutes and 36 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 23 minutes and 36 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: c829e487-2152-4819-b816-b2a86385f436

📥 Commits

Reviewing files that changed from the base of the PR and between 90830ad and 8e3ba0c.

📒 Files selected for processing (13)
  • docs/contracts/rest-api-v1.md
  • services/java/content-service/pom.xml
  • services/java/content-service/src/main/java/com/cloudmedia/content/application/content/ContentService.java
  • services/java/content-service/src/main/java/com/cloudmedia/content/events/ContentEventEnvelope.java
  • services/java/content-service/src/main/java/com/cloudmedia/content/events/ContentEventPublisher.java
  • services/java/content-service/src/main/java/com/cloudmedia/content/events/ContentEventsConfiguration.java
  • services/java/content-service/src/main/java/com/cloudmedia/content/events/ContentEventsProperties.java
  • services/java/content-service/src/main/java/com/cloudmedia/content/events/ContentPublishedPayload.java
  • services/java/content-service/src/main/java/com/cloudmedia/content/events/KafkaContentEventPublisher.java
  • services/java/content-service/src/main/java/com/cloudmedia/content/events/NoopContentEventPublisher.java
  • services/java/content-service/src/main/resources/application.yml
  • services/java/content-service/src/test/java/com/cloudmedia/content/application/content/ContentServiceIntegrationTest.java
  • services/java/content-service/src/test/java/com/cloudmedia/content/events/KafkaContentEventPublisherTest.java
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/content-published-event

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@poyrazK poyrazK merged commit 37f5bbd into main Apr 6, 2026
6 checks passed
@poyrazK poyrazK deleted the feat/content-published-event branch April 6, 2026 20:38
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.

1 participant