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

Auto set contenty-type in PANG #972

Merged
merged 1 commit into from
Oct 30, 2023
Merged

Auto set contenty-type in PANG #972

merged 1 commit into from
Oct 30, 2023

Conversation

patuwwy
Copy link
Member

@patuwwy patuwwy commented Oct 27, 2023

What?
When Instance has overwritten output to topic, ie with command

si seq start --output-topic test-topic

but content-type is unknown, will set content-type to match topic content-type (if exists) or set to default content-type (application/x-ndjson)

So, to set prefered content-type one should create topic first

si topic create test-topic -t text/plain

and then

si seq start <SEQ> --output-topic test-topic

otherwise topic will be created with default content-type

Why?
If Sequence's output Content-Type is not defined there is no possibility to redirect output to topic

Usage:

Clickup Task:

How it works:

Review checks:

These aspects need to be checked by the reviewer:

  • Verify and confirm operation (please post a screenshot)
  • All STH tests pass
  • All Scramjet Cloud Platform tests pass
  • Documentation is updated or no changes

@patuwwy patuwwy merged commit 41bcecb into devel Oct 30, 2023
38 checks passed
@patuwwy patuwwy deleted the fix/inst-topic-auto-ct branch October 30, 2023 11:35
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.

None yet

2 participants