Enqueue a no-field tuple from the command line

Enqueue a no-field tuple from the command line

book

Article ID: KB0076112

calendar_today

Updated On:

Products Versions
TIBCO Streaming 7

Description

How can I enqueue a no field tuple using command line sbc?

Issue/Introduction

Enqueue a no-field tuple from the command line

Resolution

There seems to be no easy way to do this using sbc enq using the default CSV tuple encoding format.

Use JSON instead.

To enqueue a no-field tuple to input stream In, which as a no-field schema, use this:
 
echo {} | sbc enq --json In