Hi Marcin,
You can check the dmaap-dr-node /opt/app/datartr/spool/s/0/1/ directory for the
file.
This is the temp holding dir for the file if it hasn't been delivered to a
subscriber successfully.
Regards,
Fiachra
From: onap-discuss@lists.onap.org on behalf of
Migdal, Marcin (Nokia - PL/Wroclaw)
Sent: 07 November 2018 15:30:40
To: UNNAVA, SUNIL; KOYA, RAMPRASAD; onap-discuss; LUNANUOVA, DOMINIC
Subject: [onap-discuss] How to check file delivery to DMaaP Data Router?
Hello,
We can see in logs that file has been delivered to DMaaP-DR by
data-file-collector:
2018-11-07 13:41:41.753 TRACE 1 --- [-client-epoll-8]
.c.d.s.p.DmaapProducerReactiveHttpClient : Starting to publish to DR
2018-11-07 13:41:41.789 DEBUG 1 --- [-client-epoll-8]
.c.d.w.RequestResponseLoggingInterceptor : ===request
begin
2018-11-07 13:41:41.789 DEBUG 1 --- [-client-epoll-8]
.c.d.w.RequestResponseLoggingInterceptor : URI :
https://10.42.111.6:9443/publish/1/file.txt
2018-11-07 13:41:41.789 DEBUG 1 --- [-client-epoll-8]
.c.d.w.RequestResponseLoggingInterceptor : Method : PUT
2018-11-07 13:41:41.796 DEBUG 1 --- [-client-epoll-8]
.c.d.w.RequestResponseLoggingInterceptor : Headers : {Accept=[text/plain,
application/json, application/*+json, */*],
Content-Type=[application/octet-stream],
X-ATT-DR-META=[{"compression":"txt","fileFormatType":"org.3GPP.32.435#measCollec","fileFormatVersion":"V10"}],
Authorization=[Basic ZHJhZG1pbjpkcmFkbWlu], Content-Length=[17]}
2018-11-07 13:41:41.797 DEBUG 1 --- [-client-epoll-8]
.c.d.w.RequestResponseLoggingInterceptor : Request body: sample message v2
2018-11-07 13:41:41.797 DEBUG 1 --- [-client-epoll-8]
.c.d.w.RequestResponseLoggingInterceptor : ==request
end
2018-11-07 13:41:41.910 DEBUG 1 --- [-client-epoll-8]
.c.d.w.RequestResponseLoggingInterceptor : response
begin==
2018-11-07 13:41:41.910 DEBUG 1 --- [-client-epoll-8]
.c.d.w.RequestResponseLoggingInterceptor : Status code : 204 NO_CONTENT
2018-11-07 13:41:41.913 DEBUG 1 --- [-client-epoll-8]
.c.d.w.RequestResponseLoggingInterceptor : Status text : No Content
2018-11-07 13:41:41.914 DEBUG 1 --- [-client-epoll-8]
.c.d.w.RequestResponseLoggingInterceptor : Headers : {Date=[Wed, 07 Nov
2018 13:41:41 GMT], Strict-Transport-Security=[max-age=2000;
includeSubDomains], X-ATT-DR-PUBLISH-ID=[1541598101903.dmaap-dr-node],
Server=[Jetty(9.3.8.RC0)]}
2018-11-07 13:41:41.914 DEBUG 1 --- [-client-epoll-8]
.c.d.w.RequestResponseLoggingInterceptor : ===response
end=
2018-11-07 13:41:41.924 INFO 1 --- [-client-epoll-8]
o.o.d.c.datafile.tasks.ScheduledTasks: Datafile consumed tasks. HTTP
Response code 204 NO_CONTENT
How to check in DMaaP-DR that file or it's content has been delivered to DMaaP
Data Router?
Br,
Marcin Migal
Nokia
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13585): https://lists.onap.org/g/onap-discuss/message/13585
Mute This Topic: https://lists.onap.org/mt/28023588/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-