Advertisement
Guest User

Untitled

a guest
Feb 9th, 2016
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.91 KB | None | 0 0
  1. 16/02/09 16:39:27 ERROR node.AbstractConfigurationProvider: Sink postgresql-sink has been removed due to an error during configuration
  2. cygnus_1 | java.lang.IllegalArgumentException: No enum constant com.telefonica.iot.cygnus.sinks.OrionSink.DataModel.BYSERVICEPATH
  3. cygnus_1 | at java.lang.Enum.valueOf(Enum.java:236)
  4. cygnus_1 | at com.telefonica.iot.cygnus.sinks.OrionSink$DataModel.valueOf(OrionSink.java:77)
  5.  
  6. cygnusagent.sources = http-source
  7. cygnusagent.sinks = postgresql-sink
  8. cygnusagent.channels = postgresql-channel
  9. cygnusagent.sources.http-source.channels = postgresql-channel
  10. cygnusagent.sinks.postgresql-sink.channel = postgresql-channel
  11. # sink class, must not be changed
  12. cygnusagent.sinks.postgresql-sink.type = com.telefonica.iot.cygnus.sinks.OrionPostgreSQLSink
  13. # true if the grouping feature is enabled for this sink, false otherwise
  14. cygnusagent.sinks.postgresql-sink.enable_grouping = false
  15. # the FQDN/IP address where the PostgreSQL server runs
  16. cygnusagent.sinks.postgresql-sink.postgresql_host = myIPaddress
  17. # the port where the PostgreSQL server listens for incomming connections
  18. cygnusagent.sinks.postgresql-sink.postgresql_port = 5432
  19. # the name of the postgresql database
  20. cygnusagent.sinks.postgresql-sink.postgresql_database = database
  21. # a valid user in the PostgreSQL server
  22. cygnusagent.sinks.postgresql-sink.postgresql_username = username
  23. # password for the user above
  24. cygnusagent.sinks.postgresql-sink.postgresql_password = password
  25. # how the attributes are stored, either per row either per column (row, column)
  26. cygnusagent.sinks.postgresql-sink.attr_persistence = row
  27. # select the table type
  28. #cygnusagent.sinks.postgresql-sink.data_model = by-service-path
  29. cygnusagent.sinks.postgresql-sink.data_model = by-service-path
  30. # number of notifications to be included within a processing batch
  31. cygnusagent.sinks.postgresql-sink.batch_size = 100
  32. # timeout for batch accumulation
  33. cygnusagent.sinks.postgresql-sink.batch_timeout = 30
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement