Https-get¶
The https-get resource allows fetching remote resources with HTTP GET https:// URI schema.
It is not meant to be instantiated directly. Once configured, user can request a resource through org.voltdb.stream.api.resources.FileAccess#getData call.
.configureResource(HttpsGetResourceConfigBuilder.builder()
)
resource:
https-get:
Java dependency management¶
Add this declaration to your dependency management system to access the configuration DSL for this plugin in Java.
<dependency>
<groupId>org.voltdb</groupId>
<artifactId>volt-stream-plugin-http-api</artifactId>
<version>1.6.0</version>
</dependency>
implementation group: 'org.voltdb', name: 'volt-stream-plugin-http-api', version: '1.6.0'
JSON Schema¶
You can validate or explore the configuration using its JSON Schema.
Usage Examples¶
// HTTPS resource is automatically registered and available
// No explicit configuration needed for basic usage
resources:
- name: https-client
https: {}
source:
stdin: {}
sink:
stdout: {}