Apache nifi Nifi API:使用流文件队列获取所有元素
在浏览nififlowfile api()时,我想列出flowFile队列中的所有元素 这就是我需要的:Apache nifi Nifi API:使用流文件队列获取所有元素,apache-nifi,nifi-api,Apache Nifi,Nifi Api,在浏览nififlowfile api()时,我想列出flowFile队列中的所有元素 这就是我需要的:GET/flowfile queues/{id}/listing requests/{listing requestid} 但这会给我最多100个结果,而我队列中的内容比这还要大。 反应是这样的 { "listingRequest": { "id": "a757ee05-0179-1000-d2ed-23829234fa
GET/flowfile queues/{id}/listing requests/{listing requestid}
但这会给我最多100个结果,而我队列中的内容比这还要大。
反应是这样的
{
"listingRequest": {
"id": "a757ee05-0179-1000-d2ed-23829234fa03",
"uri": "http://localhost:8080/nifi-api/flowfile-queues/9a96a1df-0179-1000-6ce1-14f392ff28f1/listing-requests/a757ee05-0179-1000-d2ed-23829234fa03",
"submissionTime": "05/26/2021 08:23:48.229 CEST",
"lastUpdated": "08:23:48 CEST",
"percentCompleted": 100,
"finished": True,
"maxResults": 100,
"state": "Completed successfully",
"queueSize": {
"byteCount": 1295286,
"objectCount": 292
},
"flowFileSummaries": [ <list of 100 elements> ]
}
}
{
“listingRequest”:{
“id”:“a757ee05-0179-1000-d2ed-23829234fa03”,
“uri”:http://localhost:8080/nifi-api/flowfile queues/9a96a1df-0179-1000-6ce1-14f392ff28f1/listing requests/a757ee05-0179-1000-d2ed-23829234fa03“,
“提交时间”:“2021年5月26日08:23:48.229 CEST”,
“最新更新”:“08:23:48 CEST”,
“完成百分比”:100,
“完成”:对,
“最大结果”:100,
“状态”:“已成功完成”,
“队列大小”:{
“字节数”:1295286,
“对象计数”:292
},
“flowFileSummaries”:[]
}
}
正如您所看到的,有270个元素,但只返回100个元素
是否有方法将结果数作为参数传递?我找不到关于它的任何文件
我试图把它作为一个参数放在帖子里,或者放在GET里,但似乎没有完成任务
类似于
http://localhost:8080/nifi-api/flowfile queues/9a96a1df-0179-1000-6ce1-14f392ff28f1/flowfiles/8e9dda73-881f-4fdd-880b-55de4cfc8485?maxResults=400
afaik这里有一个硬限制-我以为有一个JIRA想要更改它,但我找不到