@RestController
@RequestMapping(value="/servers/{serverName}/open-metadata/view-services/server-author/users/{userId}/servers/{serverToBeConfiguredName}")
public class ConfigDefaultsViewResource
extends Object
| Constructor and Description |
|---|
ConfigDefaultsViewResource() |
| Modifier and Type | Method and Description |
|---|---|
ServerAuthorConfigurationResponse |
setEventBus(String userId,
String serverName,
String serverToBeConfiguredName,
String connectorProvider,
String topicURLRoot,
Map<String,Object> configurationProperties)
Set up the default event bus for embedding in event-driven connector.
|
@PostMapping(path="/event-bus") public ServerAuthorConfigurationResponse setEventBus(@PathVariable String userId, @PathVariable String serverName, @PathVariable String serverToBeConfiguredName, @RequestParam(required=false) String connectorProvider, @RequestParam(required=false) String topicURLRoot, @RequestBody(required=false) Map<String,Object> configurationProperties)
userId - user that is issuing the request.serverName - local server name.serverToBeConfiguredName - name of the server to be configured.connectorProvider - connector provider for the event bus (if it is null then Kafka is assumed).topicURLRoot - the common root of the topics used by the open metadata server.configurationProperties - property name/value pairs used to configure the connection to the event bus connectorCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.