Skip to content

enable declaring custom topics for ffi interface publish and ff publish api create #1734

Open
ka1ii wants to merge 3 commits into
hyperledger-firefly:mainfrom
kaleido-io:custom-topic-main
Open

enable declaring custom topics for ffi interface publish and ff publish api create #1734
ka1ii wants to merge 3 commits into
hyperledger-firefly:mainfrom
kaleido-io:custom-topic-main

Conversation

@ka1ii

@ka1ii ka1ii commented Apr 7, 2026

Copy link
Copy Markdown

Proposed changes

allow clients to declare custom topics for ffi interface publish and ff publish api create

Fixes #1725


Types of changes

  • [ x] Bug fix
  • [ x] New feature added
  • [ x] Documentation Update

Please make sure to follow these points

  • I have read the contributing guidelines.
  • [x ] I have performed a self-review of my own code or work.
  • I have commented my code, particularly in hard-to-understand areas.
  • My changes generates no new warnings.
  • [ x] I have added tests that prove my fix is effective or that my feature works.
  • [ x] My changes have sufficient code coverage (unit, integration, e2e tests).

Screenshots (If Applicable)

image

Other Information

Any message for the reviewer or kick off the discussion by explaining why you considered this particular solution, any alternatives etc.

Signed-off-by: Kaijun Zhang <kaijun1543111@gmail.com>
@ka1ii ka1ii requested a review from a team April 7, 2026 13:40
@ryjones ryjones requested review from a team and Chengxuan July 3, 2026 15:42

@EnriqueL8 EnriqueL8 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @ka1ii - would love to understand if all the comments from @awrichar have been addressed kaleido-io#140

Along with that suggest:

  • Updating the docs
  • Handling empty topics passed in better

APISubscriptionStartSequenceID = ffm("api.startsequenceid", "The sequence ID in the raw event stream to start indexing through events from. Leave blank to start indexing from the most recent events")
APISubscriptionEndSequenceID = ffm("api.endsequenceid", "The sequence ID in the raw event stream to stop indexing through events at. Leave blank to start indexing from the most recent events")

APICustomTopicsQueryParam = ffm("api.customTopicsQueryParam", "Custom topics for ordering definition broadcast messages")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Wouldn't call it query param, as it's past in at POST

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.

bug: race condition between ff_define_ffi messages and ff_define_contract_api messages

2 participants