Hi,
I am new to elastic search. Please find below sample json format which
is used to create index in elastic search by using rabbitmq-river plugin.
In this code "vijay_exg" exchange is already exists in rabbitmq server.I
want to retrieve the messages from this exchange.When I am trying to
execute the below code it is generating error in elastic search log file
Sample Code :
curl -XPUT 'localhost:9200/_river/my_river/_meta' -d '{
"type" : "rabbitmq",
"rabbitmq" : {
"host" : "localhost",
"port" : 5672,
"user" : "guest",
"pass" : "guest",
"vhost" : "/",
"queue" : "vijay_test",
"exchange" : "vijay_exg",
"routing_key" : "routing_key",
"exchange_type" : "topic",
"exchange_durable" : true,
"queue_durable" : true,
"queue_auto_delete" : false,
"args" : {
"x-ha-policy" : "all"
}
},
"index" : {
"bulk_size" : 100,
"bulk_timeout" : "10ms",
"ordered" : false
}
}'
Error Message:
{amqp_error,precondition_failed,
"cannot redeclare exchange 'vijay_exg' in vhost '/' with
different type, durable, internal or autodelete value",
'exchange.declare'}
Please help me.
Thanks & Regards,
Vijay
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.