GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing docs.voltactivedata.com — 10.5. Invoking the Compound Procedure Guide to Performance and Customization10.5. Invoking the Compound ProcedureThe primary use case for compound procedures is processing incoming streams. Therefore, the common way to initiate the procedure is to name it as part of the import definition in the configuration. For example, the following configuration associates the compound procedure to a topic from an external Kafka server: deployment:
import:
configuration:
- nickname: basicimport
type: kafka
enabled: true
property:
- name: brokers
value: mykafkasvr:9092
- name: topics
value: BasicMessage
- name: procedure
value: ProcessMessageWhen declared as the target of an import connector, the compound procedure is invoked once for every record received.
You can also generate individual invocations of the procedure in the same way you do any other stored procedure:
programmatically (such as with the Java $ sqlcmd 1> exec ProcessMessage 123 'This is a test'; |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |